Facebook Connect iPhone custom publish stream

笑着哭i 提交于 2019-12-04 09:36:49

The sample app is a little outdated. Read up on Facebook's Feed Dialog documentation to see the properties you can set, and then, just do it like so:

NSDictionary* params = [NSDictionary dictionaryWithObjectsAndKeys:
                                     @"Share on Facebook",  @"user_message_prompt",
                                     @"http://www.yoursitehere.com/", @"link",
                                     @"http://www.yoursitehere.com/thumbnail.jpg", @"picture",
                                     nil];


[self.facebook dialog:@"feed" andParams:params andDelegate:self];

@Mahmud: Well facebook automatically generates feeds of your friends to show your home feed section; Once you post on your wall, the home screen of your friends will get your post as per the algorithm that facebook used for populating one's home feed; Might be your feed doesn't get top postion in home feed items but it will be definitely there .... after 4 5 posts;

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!