1

i want to get the id of my post something like

graph = GraphAPI(access_token)

graph.post(all data)

print graph.response

unfortunately response is not an attribute for GraphAPI

AttributeError: 'GraphAPI' object has no attribute 'response'

anyone know how to get the post id or the comment id etc (like using Graph API Explorer , after every request you get the post id)

Community
  • 1
  • 1

1 Answers1

2
response = graph.post(data)

print response['id']