[英]sharekit facebook not showing login page
hi I am trying to integrate fb image sharing on my app. 嗨,我正在尝试将fb图像共享集成到我的应用程序中。 So I decided to go with sharekit.
因此,我决定使用sharekit。 I downloaded the latest version.
我下载了最新版本。 I've created a facebook app and added appkey and secretkey into
shkconfig.h
as guided by the sharekit document. 我已经创建了一个Facebook应用程序,并按照sharekit文档的指导将appkey和secretkey添加到
shkconfig.h
中。 The issues no I'm facing is when I click on facebook share, fbshare screen appears and I can see the activity monitor and after sometime nothing happens and the title of the screen disappears. 我没有遇到的问题是,当我单击facebook share时,出现fbshare屏幕,并且可以看到活动监视器,并且一段时间后什么也没有发生,并且屏幕标题消失了。 When I remove the app key and secret key I see the login page.What am I doing wrong or do I have to configure something else .
当我删除应用程序密钥和秘密密钥时,我会看到登录页面。我在做什么错或者需要配置其他内容。 I have added the screenshot of what's happening.
我添加了正在发生的事情的屏幕截图。
You have to follow ALL the steps in their tutorial. 您必须遵循其教程中的所有步骤。
The ones that cross my mind in your case are : 在您的情况下,我想到的是:
1) Adding the appKey and secretKey to info.plist 1)将appKey和secretKey添加到info.plist
2) Adding these methods in your delegate class: 2)在您的委托类中添加以下方法:
I followed their steps one by one and it worked like a charm. 我一步一步地遵循了他们的步骤,它就像一种魅力。 Also , make sure you used this one .
另外,请确保您使用了此工具 。 There's an old one too , but it's not supported.
也有一个旧的,但不支持。
Hope this helps. 希望这可以帮助。
Cheers! 干杯!
EDIT: 编辑:
That's the old version as far as I know. 据我所知,这是旧版本。 You should get the one that I linked to above and follow the instructions in the wiki section here .
您应该获得我上面链接的那个,并按照此处Wiki部分中的说明进行操作。 Before doing that please remove the old version of ShareKit that you installed.
在执行此操作之前,请删除已安装的旧版本的ShareKit。 Let me know how it goes.
让我知道事情的后续。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.