-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FB Graph API - how will access to multiple groups work #2
Comments
Facebook Graph APIThe Facebook Graph API makes it fairly easy to post to multiple groups with a minimal number of HTTP requests. By using batch requests, we can post to up to 50 groups at a time (which should mean 1 request for smaller states). To set up access tokens, we'll have to connect our app to the user's Facebook account, and get a User Access Token. There is a React SDK that should help in setting this up. Once we have an access token, we should be able to post to any group the user is a member of. Further documentation on access tokens can be found here. Here's a summary of the data fields we'll need to create, update, and delete posts. To post to group
To update/delete post
Facebook documents these operations here. Facebook batch requests are documented here. There is currently a limit of 50 requests per batch. Batch requests are sent as a JSON When messages are posted, the API returns the post-id, so we need to make sure |
I'm going to refactor this issue into more current ones. |
We know that the API supports multiple requests but can those requests span multiple groups in the same HTTP request and how will the access tokens work
The text was updated successfully, but these errors were encountered: