python - How to create wall posts to app's fanpage from the facebook app? -
every facebook app can have own fanpage, have question: how can make app post own fanpage wall? there special authorization or something? examples (especially in python (facepy anyone?)) super helpful. thank you!
answering own question:
it turned out every facebook fan page has own oauth_token, in order obtain it, need authorize fan page admin in app @ first , then, can page oauth_token via https://graph.facebook.com/fan_page_id_here?fields=access_token request.
having access_token can post fan page app. simple!
here @ facebook docs can find additional info: https://developers.facebook.com/docs/authentication/pages/
Comments
Post a Comment