gpt4 book ai didi

ios - Facebook好友通过ID发帖

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:13:02 25 4
gpt4 key购买 nike

我想在 Facebook 好友的墙上发帖,我尝试了这两种方法,但都没有用:

1.

//post on wall
NSMutableDictionary *variables = [[NSMutableDictionary alloc]initWithCapacity:1];
[variables setObject:@"v" forKey:@"message"];

[graphref doGraphPost:[NSString stringWithFormat:@"1389799421/feed"] withPostVars:variables];
//post on wall

2.

 [_facebook requestWithGraphPath:@"1389799421/feed"
andParams:[NSMutableDictionary dictionaryWithObject:@"test wall post" forKey:@"message"]
andHttpMethod:@"POST"
andDelegate:self];

...我不明白为什么!!在 Facebook 网站上,我添加了 bundle 和权限。

最佳答案

I am trying to post on a Facebook friend's wall

Facebook 最近在开发者博客中宣布,通过 API will not be possible any more from Feb 2013 on 发布到另一个用户的墙上:

Removing ability to post to friends walls via Graph API

We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. If you want to allow people to post to their friends' timelines, invoke the feed dialog.

所以我认为现在开始开发这样的功能是毫无用处的。

关于ios - Facebook好友通过ID发帖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13277757/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com