0

この質問によると:複数のアカウントをマージしてユーザーアカウントを登録するためのアーキテクチャ

さまざまな回答で、電子メールを使用することは、異なるアカウント間の通信を確立し、複数のアカウントのサインインを自動的にマージするための良い方法であると述べられています。

ただし、Twitter は、oauth API を介して電子メールを提供しない主要なプロバイダーです。

Twitter アカウントと、たとえば Google、Facebook、Github などのアカウントとの通信を確実かつ自動的に確立するにはどうすればよいでしょうか? これらのアカウントを自動マージできるようにします。

私はこれを支援するライブラリを作成しているので、オプションを提供したいので、手動で行うと言うのはあまり役に立ちません。

4

1 に答える 1

1

There is no secure-way to automatically do it, I implemented an application with local account/Twitter.Facebook/Google and I didn't have other choice.

I suggest you to allow your users to register with one method (local account, Twitter, Facebook, Google...) and create a page in "My account" that allow them to associate other accounts.

In Twitter a user can be identified by either a name or a key, you have no way to know them unless you explicitly ask them to the user.

Moreover now in Twitter 1.1 you have to redirect your user to Twitter to approve your application and then you get the OAuth token and security key. As you can see there must be an interaction with Twitter, at least if you need to perform some restricted queries on his behalf (e.g. create a Tweet).

于 2013-07-09T21:16:32.633 に答える