-
Notifications
You must be signed in to change notification settings - Fork 950
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
Use batch requests in get_objects #271
Comments
Since this is partially a problem with the Graph API and not this particular library, I was going to advise you to report this upstream, but I see you already did at https://developers.facebook.com/bugs/1000666673351426/. Facebook's suggestion to use batch requests is what I would have suggested as well. Feel free to submit a pull request making changes to |
OK! Well, I hope Facebook Team will hear my suggestion in the future. It will be nice to save rate limit |
I don't think it's a good idea to change |
Closing, since adding support for batch requests to |
I want to make a bulk request using
get_objects
, but if some of the ID doesn't exist, even though other IDs exist, the whole bulk request fails. It's annoying.When I run this:
graph.get_objects(ids=['maxlibin','upwork', 'watcfy'])
Currently I'll just get error 803
facebook.GraphAPIError: (#803) Cannot query users by their username (maxlibin)
I hope you'll give response like:
The text was updated successfully, but these errors were encountered: