Python - getting post id on Facebook GraphAPI with Facepy
我想得到我的帖子的ID
graph = GraphAPI(access_token)
graph.post(all data)
print graph.response
号
不幸的是,响应不是graphapi的属性
AttributeError: 'GraphAPI' object has no attribute 'response'
号
任何人都知道如何获取post id或comment id等(比如使用graph api explorer,在每次请求之后都会获得post id)
1 2 3 | response = graph.post(data) print response['id'] |