开发者

Graph API: Posting to Application Wall

I'm trying to post to the Application Wall like this:

POST APPLICATION_ID/feed with the valid access token in params.

eg.

Action

POST http://graph.facebook.com/1开发者_JAVA百科28054470604109/feed

Data:

"link=http://apps.facebook.com/flohdev/events/4dd6014e62be660001000002&name=Floh&access_token=XXXX"

The exception I get is:

"type"=>"OAuthException", "message"=>"(#200) This API call requires a valid app_id." `

The app has office access permission and I'm logged in as the Administrator while doing this. Is there something I'm missing here.

UPDATE Turns out there is a bug in the Mogli library where it doesn't pass the access_token. A manual curl works fine.


Turns out there is a bug in the Ruby Mogli library where it doesn't pass the access_token. A manual curl with access token works fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜