-
Notifications
You must be signed in to change notification settings - Fork 199
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
__paging_token query parameter broken #126
Comments
Nice catch, @cdchan! That explains #99. This could be tricky, though. I think we have two options here: 1: Use something other than double underscores to represent a colon that is also a valid argument name in Python (like, I don't know, 2: Keep a map of parameters that can't be typed out as an argument in Python and convert them (e.g. from I think option 1 is least ideal, as it would be backwards incompatible all the way back to 0.9.0. Option 2 breaks with our idea of being a dumb client so as to just work with any new Graph API endpoint or parameters. To my knowledge What do you think? |
I don't use facepy's paging, so I wasn't sure if it explains #99 or not. (I have my own paging setup which is how I discovered But I'm actually a little confused about how paging works in https://github.com/jgorset/facepy/blob/master/facepy/graph_api.py#L291 From what I've seen Since https://github.com/jgorset/facepy/blob/master/facepy/graph_api.py#L236 only happens once it seems like it wouldn't actually affect Anyway, doesn't having to specify |
Bump. |
Seems like this is actually a bug in Facebook's API now. At least in my Graph API Explorer, this query keeps going with
|
__paging_token
is a parameter used to page through feedsHowever, because of https://github.com/jgorset/facepy/blob/master/facepy/graph_api.py#L235, the
__
is replaced with:
and Facebook ignores the parameter.This can lead to infinite paging (similar to #99) because using the
until
parameter is not enough.The string replacement was introduced in #94. I'm not familiar with
fb:explicitly_shared
so I'm not sure what the correct change is here.The text was updated successfully, but these errors were encountered: