需要Facebook的权限来标记墙上的朋友? [英] Facebook permissions required to tag a friend in a wall post..?

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

问题描述

我想在贴在我的墙上的贴子中标记一个朋友,只想知道需要什么权限?

I want to tag a friend in a post which I am posting on my wall , just wanted to know what permissions are required...?

我正在使用以下代码...

I am using the following code...

有权限..

 NSArray *permissions = [[NSArray alloc] initWithObjects:
                                    @"friends_online_presence",
                                    @"read_stream",
                                    @"email",
                                    @"publish_stream",
                                    nil];
            [self.appDelegate.facebook authorize:permissions];
            [permissions release];

并发布

NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:

                               @"Test 2",@"message",
                               @"100004311843201,1039844409", @"to",
                               nil];

[self.appDelegate.facebook requestWithGraphPath:@"me/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

这将成功发布在墙上,但配置文件ID不包括在...

This gets posted on wall successfully but the profile ids are not included...

推荐答案

尽管在PHP中这里是错误报告,它表示在Graph API中出现问题,而发布状态更新和标记的朋友无法正常工作。

Though its in PHP here is bug report which says it is problem in Graph API while posting status update and tagging friends is not working properly.

它表示将发布状态更新但是标记不起作用。

It says that it will post status update but tagging is not working.

编辑:

在评论中,添加地方字段附加到它正在工作的参数。

As discussed with OP in comments, adding place field attached to parameters it is working.

这篇关于需要Facebook的权限来标记墙上的朋友?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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