This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to post on facebook wall from external website using c#?
06-09-2014, 02:33 PM
Post: #1
How to post on facebook wall from external website using c#?
I managed to do the authentication on http://developers.facebook.com/docs/api but when it comes to posting the message im a bit confused. I may be being really stupid but how exactly do I post the following? I know I have to put in the authentication token I revived but not sure exactly how to post this.

curl -F 'access_token=...' \
-F 'body=Hello, Arjun. I like this new API.' \
https://graph.facebook.com/arjun/feed

Ads

Find all posts by this user
Quote this message in a reply
06-09-2014, 02:34 PM
Post: #2
 
You need to do an HTTP post to the Facebook server to do this. There is some example code here http://en.csharp-online.net/HTTP_Post that shows how to do an HTTP post. You will need to send two parameters one for the access_token and one for the body text.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)