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

added header api call limits information to request result #430

Closed
wants to merge 5 commits into from

Conversation

jorgecorrea
Copy link

Facebook API has to call limits you can see documentation here:
Facebook call limits

So adding this information to the result you allow api user to control the amount of queries done in the last 60 minutes

@martey
Copy link
Member

martey commented Aug 21, 2018

How does this differ from #427?

@jorgecorrea
Copy link
Author

Because He's only adding x-app-usage, but in my case I need x-page-usage. It's depend of the kind of your request query, facebook will increment ona value variables or the another one. If any of this six values arrives to 100, the requests to the API will be blocked.

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

Successfully merging this pull request may close these issues.

2 participants