Javascript では、次のようにして多数のステータスを取得できます。
function buildObject() {
FB.api('me?fields=statuses.limit(100).fields(message,from)', function(response) {
しかし、Python で同じことをしようとすると、有効なアクセス トークンに関するエラーが表示されます。しかし、修飾子を削除すると機能するので、何が問題なのかわかりません。
def findStatuses():
print "digging through the Facebook API"
graph = facebook.GraphAPI(accessToken)
statuses = graph.get_connections("me", "statuses.limit(100)")
for entry in statuses['data']:
post = entry["message"]
print post.encode("utf-8")
私が行っていない修飾子を使用する適切な方法はありますか?