2013-03-07 21 views
0

我使用Python Facebook的圖形API,並獲得我的access_token後,我做了以下內容:我如何找到python facebook圖形API連接名稱?

graph = facebook.GraphAPI(response['access_token']) 
user = graph.get_object("me") 

然後我試圖撥打:

graph.get_connections(self, id, connection_name, **args) 

,但我不知道在哪裏可以找到CONNECTION_NAME和在圖書館的例子中,我只能找到「朋友」來獲取你的朋友名字的列表。

+0

你能指出你使用的Python庫和你引用的例子嗎?一個簡單的鏈接將做 – entropy 2013-03-07 15:03:27

+0

當然。 [鏈接](https://github.com/pythonforfacebook/facebook-sdk/) – 2013-03-08 01:54:38

回答