6
我想通過圖形API發佈到Facebook羣組牆上。當我發佈帖子時,帖子的所有者被設置爲我的個人ID。有人會知道如何讓Group擁有該帖子的擁有者。以下是我目前的代碼:Facebook圖形API - 發佈在羣組牆上作爲羣組
form_fields = {
"message": 'This is message title',
"link": 'http://facebook.com',
"name": 'This is message title',
"access_token": 'token here'
}
form_fields['description'] = 'This is message body'
form_data = urllib.urlencode(form_fields)
response = urlfetch.fetch( url="https://graph.facebook.com/%s/feed" % group_id,
payload=form_data,
method=urlfetch.POST,
deadline=10
)
謝謝你的回答 – vivpuri 2011-01-11 04:06:22