关于 iphone 对话框提要的 facebook sdk 问题
我使用此代码从 iphone 中的应用程序在 facebook 中发布
NSString *title=[NSString stringWithFormat:@"Posted from Poems of Love v2 iPhone/iPod/iPad touch app - { Poem Name: "];
//& titletext.text & ""\",";
NSString *alltitle= [title stringByAppendingString:poemtitle.text];
alltitle= [alltitle stringByAppendingString:@" } - { Author:"];
alltitle= [alltitle stringByAppendingString:authorname.text];
NSString *alltitle1= [alltitle stringByAppendingString:@" }"];
NSString *list = poembody.text;
NSString *kAppId=@"numid";
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
@"http://www.poemsofloveapp.com", @"link",
@"http://3.bp.blogspot.com/_co4MVQE_2l0/TPRh6TBjaZI/AAAAAAAAAOg/E0kgWLd4ieE/s1600/poemsoflovev2logo.png", @"picture",
alltitle1, @"name",
@"\nhttp://www.poemsofloveapp.com - Join us on facebook!\n", @"caption",
list, @"description",
@"",@"message",
nil];
[mainDelegate._session dialog:@"feed" andParams:params andDelegate:self];
该对话框显示我点击“跳过”或“发布”,然后显示第二个对话框,其中是空的!没有任何消息 没有任何信息
为什么会发生这种情况?
I use this code to post in facebook from my app in iphone
NSString *title=[NSString stringWithFormat:@"Posted from Poems of Love v2 iPhone/iPod/iPad touch app - { Poem Name: "];
//& titletext.text & ""\",";
NSString *alltitle= [title stringByAppendingString:poemtitle.text];
alltitle= [alltitle stringByAppendingString:@" } - { Author:"];
alltitle= [alltitle stringByAppendingString:authorname.text];
NSString *alltitle1= [alltitle stringByAppendingString:@" }"];
NSString *list = poembody.text;
NSString *kAppId=@"numid";
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
@"http://www.poemsofloveapp.com", @"link",
@"http://3.bp.blogspot.com/_co4MVQE_2l0/TPRh6TBjaZI/AAAAAAAAAOg/E0kgWLd4ieE/s1600/poemsoflovev2logo.png", @"picture",
alltitle1, @"name",
@"\nhttp://www.poemsofloveapp.com - Join us on facebook!\n", @"caption",
list, @"description",
@"",@"message",
nil];
[mainDelegate._session dialog:@"feed" andParams:params andDelegate:self];
The dialog shows up i tap skip or publish and then a second dialog shows up which is empty! no message on it nothing
Why is this happening?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的错误对不起大家,我打电话给 [mainDelegate._session 对话框:@"feed" andParams:params andDelegate:self];
我知道之前有两次愚蠢!!!
My mistake sorry guys i called [mainDelegate._session dialog:@"feed" andParams:params andDelegate:self];
two times previously stupid i know!!!