Skip to content
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

Batch request #115

Closed
scottydelta opened this issue Jan 20, 2014 · 4 comments
Closed

Batch request #115

scottydelta opened this issue Jan 20, 2014 · 4 comments

Comments

@scottydelta
Copy link

When a batch request is made using get_objects(['id1','id2']) and one of the id is invalid, no result is returned, it throws error, shouldn't I be able to get whatever data possible?

@martey
Copy link
Member

martey commented Jan 20, 2014

This is probably because this library does not explicitly support batch requests. See #28.

@martey martey closed this as completed Jan 20, 2014
@scottydelta
Copy link
Author

Wrote a workaround, I am catching the error which contains the invalid ids and then remove those ids from request and make the request again. Its working like a charm. :)

@scottydelta
Copy link
Author

@martey , I am trying to do this
a=['EscalanteSpringsEquineRescueAndRehabilitation', 'estudiosenelexterior.latinoaustraliaeducation', 'estudiosenelexterior.latinoaustraliaeducation', 'ExceptionalDentistryDr.PatCarrollLouisvilleKy', 'financial.management.versicherung.schutzpaket', 'FreakinthecageWebdesignTheWebdesignManufactur', 'Friendsof.Northeast.Florida.Community.Gardens', 'GreaterCincinnatiKitchenBathAndRemodelingShow', 'imperiatech.website.management.and.consulting', 'InstituteforNegotiationLeadershipandDiplomacy']

graph.get_objects(a)

I get following error:
facebook.GraphAPIError: (#803) Some of the aliases you requested do not exist:

The aliases which doesnt exist according to fb are blank in Error message.
Can you help with this problem?

@martey
Copy link
Member

martey commented Jan 21, 2014

Can you help with this problem?

If you're not reporting a bug in the library, it's better for the community if you use the Google Group.

I am not entirely sure what you are asking for, so it would be great if you could create a new message on the group rephrasing your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants