2
我遇到一點麻煩與facebook的動作圖形APIFacebook的動作圖形API - 崗位「/飼料」
雖然我可以張貼到「/飼料」與Facebook.ui工作,(沒有一個Facebook彈出),我似乎無法得到它與Facebook.api 在這裏工作是我的代碼:
var values:Object = {
name:"This is my title",
link:"http://example.com",
picture:"http://example.com/icon-75x75.gif",
caption:"this is a caption",
description:"this is a long description",
message:"This is a test message. There are many like it but this one is mine.",
actions:
{
name:"Crazy extra thing",
link:"http://example.com"
}
};
Facebook.api(_user + "/feed", handleSubmitFeed, values, URLRequestMethod.POST);
這是Facebook.login()與權限「read_stream,publish_stream後調用, user_likes「成功並且id存儲在_user中。我得到以下錯誤:
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://graph.facebook.com/********/feed"]
我並沒有與其他呼叫任何麻煩來更新用戶狀態(「/狀態」)或檢索自己的好友列表。
任何想法可能是什麼問題?
感謝 OB
Thankyou非常@Michiel Standaert,我添加了我沒有的訪問令牌,並刪除了操作對象,它工作了一種享受。奇怪的是,當我通過Facebook.ui()時,這些行爲也起作用了,但這是向正確方向邁出的一大步。 – obie 2011-04-15 09:20:57
我知道圖表API是多麼的困難,因爲目前的文檔真的很迷糊:)所以我很高興我可以幫忙;) – 2011-04-15 09:33:53