【发布时间】:2013-04-25 08:59:59
【问题描述】:
我有一个将链接和照片上传到 facebook 的应用程序。我已在 developer.facebook.com 的应用设置中将其链接到我的应用 facebook 页面。有两种情况。
1) 当我上传带有一些文字的链接时。 “通过 Appname>”可以从我的 Home 和 Profile 中点击。
[FB requestWithGraphPath:@"me/feed" andParams:[NSMutableDictionary dictionaryWithObjectsAndKeys: [[self.recipeDetails objectForKey:@"source"] objectForKey:@"sourceRecipeUrl"], @"link",fbtextView.text, @"message", nil] andHttpMethod:@"POST" andDelegate:self];
2) 当我上传带有一些文字的照片时。 “通过Appname>”只能从我的主页 feed 中点击,但不能从Profile feed 中点击。
[FB requestWithGraphPath:@"me/photos" andParams:[NSMutableDictionary dictionaryWithObjectsAndKeys: imageData,@"source",fbtextView.text, @"message", nil] andHttpMethod:@"POST" andDelegate:self];
这是实际情况还是我错过了什么。请帮忙。
【问题讨论】:
-
我也想这样做,你有什么解决办法吗?
-
还没有。如果我得到任何东西,肯定会在这里发布。你有这方面的任何文件或研究。
标签: facebook facebook-graph-api xcode4.5