Post to a fan page of a Facebook fan with a backend?

I am trying to write a Facebook application that can publish on a Facebook fan page (and not on a user page) using streamPublish. However, it’s hard for me to find documentation on how to let the backend program remain β€œturned on” between sessions. I came to the conclusion that this has something to do with the secret and session key, but I did not find any good examples using them.

Do you know this is a good example? I use the standard PHP PHP library.

+3
source share
1 answer

I do not have much experience with the aspect of this page, but I know from the point of view of the user that you need to provide the user with extended privileges of your application so that you can get a permanent session key.

You might want to try to provide extended / offline privileges to your application from the user account that created the fan page, since theoretically this user can send messages to the page stream.

+1
source

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


All Articles