我发帖到我的墙上throgh facebook api 它运作良好,但没有像帖子,评论,分享在帖子底部的行为 我怎么能启用它?
我发了一个http帖子到你的网址: https://graph.facebook.com/me/feed?的access_token = XXX&安培;消息= XXX&安培;链接= XXX&安培;图象= XXX&安培;名称= XXX&安培;字幕= XXX&安培;描述= XXX
答案 0 :(得分:0)
在客户端应用上使用Feed对话框; https://developers.facebook.com/docs/reference/dialogs/feed/
在该链接上,还有通过Graph API
的示例调用让我尝试添加您在进行HTTP POST调用时需要的示例参数;
Map<String, String> fbParams = new HashMap<String, String>();
String actions="{\"name\": \""+ "name of your app" +"\""+
", \"link\": \""+ "link to your app, webpage etc" +"\"}";
fbParams.put("message",message);// NOTE: leave empty, let user enter this via dialog
fbParams.put("picture",picture_static);
//fbParams.putString("source", picture_static);// only 'picture' param is enough
fbParams.put("link",link);
fbParams.put("name",name);
fbParams.put("description",description);
fbParams.put("caption","using BlablaApp");
fbParams.put("actions",actions);