1

アプリケーションを LinkedIn に登録し、Web サイトの URL を指定しました:abc.net

abc.netこの場合、サーバーとして機能するユーザーの access_token とプロファイル情報を取得できます。次に、このデータを別のドメインに送信する必要があります。

Facebook API では、他のドメインに access_token のみを送信すると、他のドメインでデータを取得することができます。

$fb_id_url = "https://graph.facebook.com/me?access_token=" . $token;
$fb_info_json = file_get_contents($fb_id_url);

Linkedinにこのような規定はありますか?

4

1 に答える 1

0

It sounds like you are using the REST API - in this case, the application is not necessarily tied to a single domain or machine - using the application API keys and the user's OAuth tokens from other domains should work fine.

于 2012-08-23T20:57:24.497 に答える