How to publish wall to Facebook using .net?

tangteng78
tangteng78 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
GlobaLevelProgrammer

Commented:
Unless Facebook has an API..im not sure its possible...
Top Expert 2011

Commented:
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

Author

Commented:
Hi dgofman,
how do i use the javascript API? Any sample is most welcome.

Thanks.
Top Expert 2011
Commented:
Please review my old post

http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_26938643.html

If you will get difficulty I will give more information

Use Facebook JavaScript library ONLY don't use any third party JS files

"https://connect.facebook.net/en_US/all.js"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial