iPhone - Facebook issue with ShareKit

夙愿已清 提交于 2019-12-08 09:56:33

问题


I am using the below code to integrate facebook sharing in my iPhone App. It works fine most of the time. But some times instead of showing a login window , it displays a blank window and nothing is displayed in that. So user fails to share it on Facebook. I don't know whats going wrong !!

NSURL *url = [NSURL URLWithString:@"http://www.socialdealspot.com"];
SHKItem *item = [SHKItem URL:url title:deal.title];
item.image = [UIImage imageNamed:@"Icon.PNG"];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];

// Display the action sheet
[actionSheet showFromToolbar:self.navigationController.toolbar];

Has anyone faced this issue before or I am doing something wrong .Please help me !!

I am able to post the first time I logs in. After wards when I try to share something it just displays a blank screen . . . ? Can Any body please look into this . . ??

Thank You !!


回答1:


This happened to me with Sharekit for about 5 hours on July 3. I chose to wait it out and it fixed itself. Must have been a serverside issue maybe?



来源:https://stackoverflow.com/questions/6608530/iphone-facebook-issue-with-sharekit

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