-
Notifications
You must be signed in to change notification settings - Fork 76
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
REST Issue #7
Comments
Be sure to use the correct methods. Looks like you using the old Facebook API so use MiniFB.call, not rest. |
This is still an issue. Any attempt to call MiniFB.rest(token, 'facebook.friends.get') results in Hashie errors.
|
Seems like this change would fix it: if res_hash.is_a? Array # fql return this |
Yep, just checked and it is correctly giving me an Array of user IDs :) |
Hi appoxy!
Thanks for developing this lightweight mini_fb. However, I came up with this problem when I was searching for my friends who are app users too. Here is the code I created:
@fb = MiniFB::OAuthSession.new(access_token, 'es_ES')
@fb.rest('friends.getAppUsers')
NoMethodError Exception: undefined method `each_pair' for XXXXXX:Fixnum
Thanks again and hoping for a quick response.
The text was updated successfully, but these errors were encountered: