python - where can I get all names of connections in the graph API -


import facebook  token = 'your token'  graph = facebook.graphapi(token) profile = graph.get_object("me") friends = graph.get_connections("me", "friends") 

the second parameter in method get_connections() name if connection, found documentation of graph api (http://facebook-sdk.readthedocs.org/en/latest/api.html) not information how list names of connections exist in graph.

thank you!

always use official api reference, existing connections in there: https://developers.facebook.com/docs/graph-api/reference

for example: https://developers.facebook.com/docs/graph-api/reference/user/

(scroll down "edges")


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -