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

WARNING (get_entity_id_from_vanity_name) Falling back to getting entity id from profile page for vanity name #45

Closed
benjybarkes opened this issue Oct 28, 2019 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@benjybarkes
Copy link

Script worked really well (on a Mac) when i ran it first time for my profile then tried running it again for my girlfriends.

Script ran rapidly through the first 6 months then suddenly slowed right down and displayed the following message for every name:

"fb2cal WARNING (get_entity_id_from_vanity_name) Falling back to getting entity id from profile page for vanity name example.name. This method is significantly slower."

Seems strange that it was fine for mine and also the first 6 months of hers?

@calvinle
Copy link

I ran this about three times, first two I came across errors with an earlier mentioned issue with ics. By the third run I got the same error.

@mobeigi mobeigi added the question Further information is requested label Oct 28, 2019
@mobeigi mobeigi changed the title Script works for a few months then displays warning: 'falling back... vanity name' for every name WARNING (get_entity_id_from_vanity_name) Falling back to getting entity id from profile page for vanity name Oct 28, 2019
@mobeigi mobeigi added the enhancement New feature or request label Oct 28, 2019
@mobeigi
Copy link
Owner

mobeigi commented Oct 28, 2019

Excerpt from my blod post:
http://bit.ly/fb2cal-blogpost

Rate limiting note: If the composer query endpoint is hit enough in a short period of times, it seems to somehow restrict the number of entries returned. It seems to limit the query results to only returning results matching friends names, page names exactly. This limitation then disappears over time. So one should be careful how often or quickly they hit this endpoint!

You probably reached this rate limit by sending too many requests in a short period of time from the same IP/account etc. I suggest you wait 1-2 days without using the script and the limitation should disappear.

There is no other work around really besides finding another effecient way to convert a vanity name to a Facebook ID. There probably are other endpoints that can be used but you'll have to search for them.

@benjybarkes
Copy link
Author

Got it. Many thanks for explaining. Great script thanks for developing!

@mobeigi
Copy link
Owner

mobeigi commented May 17, 2020

This should no longer be an issue at all thanks to #65. There should be no rate limited and script will be much faster.

@mobeigi mobeigi closed this as completed May 17, 2020
@mobeigi mobeigi added this to the 1.1.0 milestone May 17, 2020
@mobeigi mobeigi removed the question Further information is requested label May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants