我已經使用該代碼時GraphApi模塊存在於pyfacebook或不
import facebook
token = 'my token'
graph = facebook.GraphAPI(token)
profile = graph.get_object("me")
friends = graph.get_connections("me", "friends")
friend_list = [friend['name'] for friend in friends['data']]
print friend_list
錯誤,我是安裝pyfacebook以及蟒SDK連我收到錯誤如下
面對是
graph = facebook.GraphAPI(token)
AttributeError: 'module' object has no attribute 'GraphAPI'
請回復任何人.. – user1543087