Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Facebook用户上发布';长城_Facebook_Blackberry_Facebook Wall - Fatal编程技术网

在Facebook用户上发布';长城

在Facebook用户上发布';长城,facebook,blackberry,facebook-wall,Facebook,Blackberry,Facebook Wall,我正在开发一个appon blackberry平台,在这个平台上我可以在用户墙上发布一条消息…我可以获得会话id…但不知道如何继续 我正在做这样的事情 enter code here URLEncodedPostData post = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, false); post.append("method", "stream.publish"); post.app

我正在开发一个appon blackberry平台,在这个平台上我可以在用户墙上发布一条消息…我可以获得会话id…但不知道如何继续

我正在做这样的事情

enter code here
URLEncodedPostData post = new URLEncodedPostData(URLEncodedPostData.DEFAULT_CHARSET, false);
        post.append("method", "stream.publish");
        post.append("message", "published through the Facebook API");
        post.append("session_key", sessionKey);
        post.append("attachment", null);
        post.append("action_links", null);
        post.append("target_id ", null);
        post.append("uid ", null);
我将此作为帖子数据发送到以下url:

        http://api.facebook.com/restserver.php?
我得到的答复包括: 101
无效的API密钥

您应该尝试注册应用程序,获取API密钥并在请求中使用。
登入