Answer the question
In order to leave comments, you need to log in
How to get access_token of facebook users?
Hello, is it possible to make a link (similar to VK) that the user will follow and provide a token with which I can make publications in his groups?
As I understand it, you can post like this:
POST https://graph.facebook.com/{id_group_user}/feed?message=test&access_token={access_token_user}
Answer the question
In order to leave comments, you need to log in
If you are using Laravel, I can recommend Socialite ( https://laravel.com/docs/5.7/socialite ). There access_token can be obtained during the callback.
In order to publish to groups as a user, you need the `publish_to_groups` permission. To get it, the application must go through manual pre-moderation. Those. you must implement the functionality in a test mode, and then tell and show the Facebook moderators how you will use your application. You can read more about publishing to groups in this help section: https://developers.facebook.com/docs/groups-api/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question