什么是我的四角authenticaion,callback_url和应用网站? [英] What is my foursquare authenticaion, callback_url and application website?

查看:312
本文介绍了什么是我的四角authenticaion,callback_url和应用网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着去Foursquare的API集成到我的iPhone,但我坚持在最开始:注册我的应用程序。
它要求我为我的callback_url和应用网站序登记我的应用程序,并让我验证code,但我不明白什么IM应该把在这些链接,因为我没有一个域名为这个应用程序。它只是没有网站的应用程序。我已经花了这么多时间试图找出放什么在这两个领域对Foursquare的开发者网站,但我不知道我需要做的。
任何人都知道我的callback_url和应用的网站是什么,如果我的iPhone应用程序没有一个网站?

Im trying to integrate the foursquare API in my iphone but am stuck On the very beginning: registering my app. Its asking me for my callback_url and application website inorder to register my app and get my authentication code but I dont understand what Im supposed to put in for those links since I dont have a domain name for this app. Its just an app with no websites. I have been spending so many hours trying to figure out what to put in those two fields on the foursquare developer site but I have no idea what I need to do. Anyone know what my callback_url and application website is if my iphone app does not have a website?

推荐答案

在创建自己的移动应用程序,它并没有真正不管你输入什么回调URL。您可以将回调URL设置为任何有效的URL,但出于安全原因,有利的是使用你的控制之下一(所以没有其他人可以得到令牌)。

When you create your own mobile application, it does not really matter what callback URL you enter. You can set the callback URL to any valid URL, but for security reasons it is favorable to use one under your control (so that nobody else can get the token).

请参阅基于电话或客户端应用程序的Foursquare的文档: https://开头开发商.foursquare.com /概述/ AUTH

Please see the Foursquare documentation for "Phone-based or client-side application": https://developer.foursquare.com/overview/auth

还有一个链接到iOS code示例,演示如何OAuth的过程可以直接在设备上完成:<一href=\"https://github.com/anoopr/core-data-talk/blob/master/example/Classes/FoursquareAuthViewController.m\" rel=\"nofollow\">https://github.com/anoopr/core-data-talk/blob/master/example/Classes/FoursquareAuthViewController.m

There is also a link to an iOS code sample that shows how the OAuth process can be done directly on the device: https://github.com/anoopr/core-data-talk/blob/master/example/Classes/FoursquareAuthViewController.m

这篇关于什么是我的四角authenticaion,callback_url和应用网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆