tangteng78
asked on
How to publish wall to Facebook using .net?
Hi,
I'm managed to autenticate the user and able to get the code generated and returned by the FB server. Now, my question is, how do i publish to the user's wall using asp.net?
The documentation from FB is NOT helpful. Only the below is given in their page. Please help
curl -F 'access_token=...' \
-F 'message=Check out this funny article' \
-F 'link=http://www.example.com/article.html' \
-F 'picture=http://www.example.com/article-thumbnail.jpg' \
-F 'name=Article Title' \
-F 'caption=Caption for the link' \
-F 'description=Longer description of the link' \
-F 'actions={"name": "View on Zombo", "link": "http://www.zombo.com"}' \
-F 'privacy={"value": "ALL_FRIENDS"}' \
-F 'targeting= {"countries":"US","regions ":"6,53"," locales":" 6"}' \
https://graph.facebook.com/me/feed
I'm managed to autenticate the user and able to get the code generated and returned by the FB server. Now, my question is, how do i publish to the user's wall using asp.net?
The documentation from FB is NOT helpful. Only the below is given in their page. Please help
curl -F 'access_token=...' \
-F 'message=Check out this funny article' \
-F 'link=http://www.example.com/article.html' \
-F 'picture=http://www.example.com/article-thumbnail.jpg' \
-F 'name=Article Title' \
-F 'caption=Caption for the link' \
-F 'description=Longer description of the link' \
-F 'actions={"name": "View on Zombo", "link": "http://www.zombo.com"}' \
-F 'privacy={"value": "ALL_FRIENDS"}' \
-F 'targeting= {"countries":"US","regions
https://graph.facebook.com/me/feed
Unless Facebook has an API..im not sure its possible...
You have three options
1) Use JavaScript API's
2) Use Firefox enabled facebook session on the browser than execute your code
3) Use FQL (database) for retrive a Facebook data
1) Use JavaScript API's
2) Use Firefox enabled facebook session on the browser than execute your code
3) Use FQL (database) for retrive a Facebook data
ASKER
Hi dgofman,
how do i use the javascript API? Any sample is most welcome.
Thanks.
how do i use the javascript API? Any sample is most welcome.
Thanks.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.