How to post Facebook fan pages on a wall from an external site from which you are a fan but not an administrator

I use the ASP.NET Facebook Developerers Toolkit on an external website, and I am also the facebook page admin for the website. Users on my site (may or may not be facebook users) create content articles.

I would like to associate these articles with the Facebook fan page so that when writing an article, users with FB accounts can log in to FB and post to the Fan page. I'm sure they need to be a fan first.

Any idea on how to do this?

+3
source share
2 answers

You can use the Graph api to publish to facebook wall. Follow this link link text

You can publish on Facebook's graph by sending HTTP POST requests to the corresponding connection URLs above using the application access token. For example, you can post a new wall post on Arjun's wall by sending a POST request to https://graph.facebook.com/arjun/feed :

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

Hope this helps.

+5
source
0

Source: https://habr.com/ru/post/1737170/


All Articles