flickr 回调 URL 不起作用
我从链接下载了 Objective C flickr 库。 https://github.com/lukhnos/objectiveflickr
创建应用程序密钥和机密并更新 SampleApiKey.h文件。 flicker 应用程序页面中的回调 URL 设置为 snapnrun://myapp ,与应用程序 URL 方案中的回调 URL 相同。我正在从下载的源运行 SnapAndRun 示例应用程序。运行应用程序后(在模拟器和设备中都有相同的行为),当我点击授权按钮时,它会将我带到 Safari 中基于网络的授权页面。当我单击那里的授权应用程序按钮时,Safari 不会将我带回应用程序。
我是否在这里遗漏了更多内容,或者最近几天 flickr API 是否有任何更改,以便回调授权起作用?
但官方 flickr 应用程序运行良好。在设备中尝试过。授权后,返回到 flickr 应用程序。
感谢您的帮助。
谢谢。
I downloaded the objective c flickr library from the link. https://github.com/lukhnos/objectiveflickr
Created the app key and secret and updated the SampleApiKey.h file. The callback URL in flicker app page is set as snapnrun://myapp and same in application URL scheme. I am running the SnapAndRun example application from the downloaded source. After running the app(both in simulator and device same behaviour), when i tap on authorize button, it takes me to web based authorization page in safari. When i click authorize app button there, safari is not taking me back to the application.
Am i missing something more here, or is there any change in flickr API in last couple of days, so that the call back authorization doenst work??
But the official flickr app is working fine. Tried in the device. After authorization, it goes back to flickr app.
Your help is appreciated.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我也遇到了同样的问题,我发现当我尝试通过 xmlrpc 请求调用 flickr API 时,但是当我尝试使用 JSON 时它起作用了。
希望对你也有用..
I also had the same problem, and I found out that when I tried calling the flickr API via xmlrpc request, but when I tried with JSON it worked.
Hope that work for you also..
当您获得密钥和秘密时,在其下方,有一个
编辑身份验证流程
的选项。将回调 URL 传递到此处。When you get your key and secret, below that, there is an option to
Edit Authentication Flow
. Pass the callback URL there.