0
在Javascript中我能夠通過這樣做是爲了獲取大量的狀態:的Python +臉譜,採用改性劑
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")
有沒有適當的方式來使用修飾符,我不是在做什麼?