简体   繁体   English

是否可以使用Facebook API在跨应用,跨企业的第三方用户ID中进行第三方服务?

[英]Is it possible to use Facebook API to ID a user across apps, across businesses, for 3rd party service?

We are developing a service where users upload images of themselves from which we then produce a 3D avatar looking like the user. 我们正在开发一项服务,用户可以上传自己的图像,然后从中生成与用户相似的3D化身。 This is quite a mathsy little problem and thus we are, alas, better at math than web development :) 这是一个数学上的小问题,因此,a,我们比网络开发更擅长数学:)

When the algorithm has finished segmenting the photos and constructed 3D-model and texture we upload these to a server. 当算法完成对照片的分割并构建3D模型和纹理后,我们将其上传到服务器。 We would prefer, for user simplicity, to handle identification using the Facebook API. 为了用户简便起见,我们希望使用Facebook API处理标识。 This is implemented in our current version. 这在我们的当前版本中实现。

Now to the problem: When a user play a game or uses an app where they want to play as themselves they should only need to login with Facebook and we then should retrieve 3D model and texture from our server using the user ID from Facebook as identifier. 现在要解决的问题:当用户玩游戏或在自己想玩的地方使用应用程序时,他们只需要登录Facebook,然后我们应使用Facebook中的用户ID作为标识符从服务器中检索3D模型和纹理。 。 But we just realized that the user ID is different for each app! 但是我们只是意识到每个应用程序的用户ID都不相同! In the documentation for the Facebook API we found that, for one business, you can use the business identifier across several apps, but only the apps you make yourself. 在Facebook API的文档中,我们发现,对于一家公司,您可以在多个应用程序中使用公司标识符,但只能使用您自己创建的应用程序。 And we want other developers to be able to use our avatars in their own games. 我们希望其他开发人员能够在自己的游戏中使用我们的头像。

Or is there a way to use Facebook ID here that we are missing, so that we can create the avatars and other developers can make games where the users can play as themselves? 还是有一种在这里使用我们缺少的Facebook ID的方法,以便我们可以创建化身,其他开发人员可以制作用户可以自己玩的游戏? Because we really want to see football games where we can play as ourselves with our friends on the team, and zombie games where the zombies are our loved ones turned undead! 因为我们确实希望看到可以与团队中的朋友一起玩的足球比赛,以及僵尸是我们亲人的僵尸游戏,所以变得不死! This last part is part of the reason, apart from simplicity, why we want to use Facebook login actually... 这最后一部分是原因,除了简单之外,我们为什么要实际使用Facebook登录...

Facebook especially avoids what you are trying to do. Facebook特别避免您尝试做的事情。 So, even if you somehow find a workaround, there is a high possibility that it will be patched. 因此,即使您以某种方式找到了解决方法,也很有可能对其进行修补。

From your explanation, I understand that when your services used by other apps, you don't want users to give permission to your Facebook app. 根据您的解释,我了解到当您的服务被其他应用程序使用时,您不希望用户向您的Facebook应用程序授予权限。 You want other apps to query user avatars by user's Facebook ID. 您希望其他应用通过用户的Facebook ID查询用户头像。 Since I don't see any security concern in this logic (because anyone can access anyone's avatar just with Facebook ID), I think you are better off using email addresses and just work like Gravatar. 由于我在这种逻辑中看不到任何安全问题(因为任何人都可以使用Facebook ID来访问任何人的化身),所以我认为使用电子邮件地址更好,并且像Gravatar一样工作。

In the comments, it is mentioned to using other Facebook user info (name etc) to create a unique identifier. 在评论中,提到使用其他Facebook用户信息(名称等)来创建唯一标识符。 They are not guaranteed to be unique and users can easily change any info you got. 不保证它们是唯一的,用户可以轻松更改您获得的任何信息。 So, it is not really an option. 因此,这不是一个真正的选择。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以在仅客户端应用程序上使用第三方评论服务(如facebook评论api或disqus)? - Is it possible to use a 3rd party commenting service like the facebook comments api or disqus on a client side only app? 是否可以从第三方软件访问Facebook帐户? - Is it possible to access facebook account from 3rd party software? 在Android应用程序之间共享Facebook应用程序ID - Share a Facebook app ID across apps Android Facebook API社交插件无法在第三方网站上加载 - Facebook API Social plugins wont load on 3rd party website 是否可以在第三方网站的iframe中使用FB Connect? - Is it possible to use FB Connect in an iframe on a 3rd party site? Facebook Messenger 3rd Party功能 - Facebook messenger 3rd party capability 使用来自第三方Web应用程序的facebook graph api向facebook用户个人资料添加活动 - adding events to facebook users profile using facebook graph api from a 3rd party web application 如何使用Facebook的新Graph API在多个应用程序中为播放器使用相同的ID? - How to use same IDs for players across multiple apps with Facebook's new Graph API? Facebook和iOS:在多个应用中共享应用ID - Facebook & iOS: Share an app ID across multiple apps Facebook OAuth统一同一业务中各个应用程序的作用域ID - Facebook oauth unified scoped id across apps in same business
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM