Facebook的连接适用于iOS质疑身份验证的应用程序ID和秘密 [英] facebook connect for ios question authentication application id and secret

查看:156
本文介绍了Facebook的连接适用于iOS质疑身份验证的应用程序ID和秘密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许是一个愚蠢的问题,但...
我们使用了新的ios的Facebook连接SDK(https://github.com/facebook/facebook-ios-sdk)和几个问题浮现在脑海中。

perhaps a stupid question, yet... We're using the "new" ios facebook connect sdk (https://github.com/facebook/facebook-ios-sdk) and a few questions come to mind.

在旧的SDK,你将不得不为了获得一个会话,这样,你可以使用Facebook的API传递一个秘密钥匙(只知道向你),这是有意义的。

In the old sdk, you would have to pass a "secret key" (known only to you) in order to obtain a session so that you could use the facebook api, this made sense.

通过新的SDK,你需要通过为应用程序ID,然后在用户登录,那么他就能够发布的任何消息,它会出现,如果我的应用程序(应用程序ID标识的Facebook应用程序)张贴。

With the new sdk, all you need to pass is "Application Id" and then the user logs in, then he is able to post any message and it will appear as if my application (the facebook application identified by the application id) posted it.

这是没有意义对我们来说,如果有人获得我们的应用程序ID(没有提及是一个秘密的任何地方),他/她会(没有任何问题)必须张贴好像他是我们的Facebook应用程序的所有者的能力

This makes little sense to us, if someone obtains our application id (not mentioned to be a secret anywhere), he/she will (without any problem) have the ability to post as if he was the owner of our facebook application.

有人能解释这一点,这是如何使用这个新的SDK?prevented

Can someone explain this and how this is prevented using this new SDK?

几个问题,我们不清楚是:

a few more issues we're unclear about are:


  1. 在Facebook应用程序
    设置,之间有选择
    原生应用和HTML5 /
    移动网络目前我们设为
    HTML5 /移动网络(这是
    默认值)哪些这里的交易?
    也许这关联到
    previous问题?

  2. 有两个设置:iOS版捆绑ID和
        iTunes应用程序商店ID,这是再
        目前还不清楚这些用途。
        目前没有这些2中被设置
        我们的应用程序,我们能够向
        用户壁不使用有问题
        在应用程序ID只有在我们
        iPhone应用程序。

任何技巧和提示AP preciated!
感谢名单,
-tzurs

Any tips and hints appreciated! thanx, -tzurs

推荐答案

的iOS捆绑ID用于prevent这种情况的发生。您在info.plst指定包ID(例如,com.your_company.your_app)这样的Facebook知道你的iPhone应用程序被授权使用您的Facebook器件的应用。

iOS Bundle ID is used to prevent that from happening. You specify the bundle id in your info.plst (e.g., com.your_company.your_app) so Facebook knows that your iPhone app is authorized to use your Facebook appication.

iTunes应用程序商店ID用于创建Facebook应用程序的页面的链接在App Store中的iPhone应用程序。

iTunes App Store ID is used to create a link from your Facebook application's page to your iPhone app on the app store.

这篇关于Facebook的连接适用于iOS质疑身份验证的应用程序ID和秘密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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