不再是現有的我用下面的代碼張貼在留言板怎樣才能發佈到留言板作爲後到其他牆上的Facebook
Bundle parameters = new Bundle();
JSONObject attachment = new JSONObject();
attachment.put("message", "Messages");
attachment.put("name", "Get thisapp to send messages like this!");
attachment.put("href", link);
parameters.putString("attachment", attachment.toString());
parameters.putString("message", msg);
parameters.putString("target_id", 「friend id」);
parameters.putString("method", "stream.publish");
String response = authenticatedFacebook.request(parameters);
Log.v("response***********", response);
,但我得到了以下錯誤響應
02-25 16:12:24.365: V/response***********(6540): {"error_code":200,"error_msg":"Feed story publishing to other users is disabled for this application"
我把這個鏈接https://developers.facebook.com/roadmap/#february-2013。如果Facebook不支持圖片API發佈到他人牆上,我怎麼能發佈到朋友牆上?
注意,鏈接只有答案氣餒,SO答案應該是一個搜索的終點解決方案(而另一個參考文獻的中途停留時間往往會隨着時間推移而過時)。請考慮在此添加獨立的摘要,並將鏈接保留爲參考。 – kleopatra 2013-07-31 10:03:32