斜面上的后墙上朋友的Facebook [英] Cant post on friends wall facebook

查看:131
本文介绍了斜面上的后墙上朋友的Facebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图张贴在墙上的朋友但还没有发生错误,没有消息发布到朋友wall.below是我的code墙壁发布

I was trying to post on friends wall but error occurs and no message is posting to friends wall.below is my code for wall posting

final Bundle params = new Bundle();

params.putByteArray("message", "testing".getBytes());
params.putByteArray("name", "cccc".getBytes());
params.putByteArray("link", "http://www.youtube.com".getBytes());
params.putByteArray("description", " ...".getBytes());
params.putByteArray("picture", "".getBytes());

final Request postToWall = Request.newRestRequest(Session.getActiveSession(), fbid + "/feed", params, HttpMethod.POST);
postToWall.setCallback( new Request.Callback() 
{
     @Override
     public void onCompleted(Response response) 
     {
        Log.i("", response.toString());

     }
});
Request.executeBatchAsync(postToWall);

} });




     logcat的错误:
{响应:响应code:200,graphObject:空,错误:{的HTTPStatus:200,错误code:3, ERRORTYPE:空,的errorMessage:未知方法},isFromCache:假}

如果有谁知道为什么这个问题正在发生,请告诉我的解决方案。

If anyone know why this problem is occuring please tell me the solution .

推荐答案

发布到通过应用一个朋友墙pcated德$ P $,不应该再工作,希望。在大多数情况下,这被认为是垃圾邮件。

Posting to a friends wall via an app is deprecated and should not work anymore, hopefully. In most cases, this is considered spam.

在这里看到: https://developers.facebook.com/roadmap/completed-changes/ (2013年2月6日 - 删除通过图形API张贴到墙上朋友的能力)

See here: https://developers.facebook.com/roadmap/completed-changes/ (February 6, 2013 - "Removing ability to post to friends walls via Graph API")

这篇关于斜面上的后墙上朋友的Facebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆