-
Notifications
You must be signed in to change notification settings - Fork 952
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
get_connections fails to get friends #49
Comments
I can not replicate this issue. Does this consistently occur for you? Are you able to replicate it (using the same access token and application) on the Graph API Explorer? |
I used the same access token used in the application I get this error on the Graph API Explorer |
As you can see on line 111, |
sorry about that martey, |
Since the error is occurring with the Graph API Explorer as well, this is extremely unlikely to be an error with the library, so I am closing this issue. You might want to try to create a test user (to see if there is something wrong with the user you are using) or creating a new application. Let me know if you need further assistance by contacting me directly and I will try and help you with further debugging. |
sorry I'm having this problem now...
and the print of friends is
|
@rajasimon, there are a number of reasons why the list of friends might be empty that do not relate to bugs in this application. I would advise posting to the Google Group for more support: https://groups.google.com/forum/#!forum/pythonforfacebook |
Python 2.7.3
facebook_sdk-0.3.2-py2.7.egg
Traceback (most recent call last):
File "sdkref.py", line 31, in
friends = graph.get_connections(profile["id"], "friends")
File "C:\Program Files (x86)\Python27\lib\site-packages\facebook.py", line 111, in get_connections
return self.request(id + "/" + connection_name, args)
File "C:\Program Files (x86)\Python27\lib\site-packages\facebook.py", line 275, in request
raise GraphAPIError(response)
facebook.GraphAPIError: Unsupported operation
The text was updated successfully, but these errors were encountered: