アプリケーション要求を送信するカスタマイズされたポップアップが必要ですか?
どうすればこれを達成できますか?
http グラフ api を介してアプリ リクエストを送信できます。これは単なる http 投稿です...そのための独自のインターフェイスを構築できますhttps://developers.facebook.com/docs/channels/を参照してください
<?php
$app_id = YOUR_APP_ID; $app_secret = YOUR_APP_SECRET;
$token_url = "https://graph.facebook.com/oauth/access_token?" . "client_id=" . $app_id . "&client_secret=" . $app_secret . "&grant_type=client_credentials";
$app_access_token = file_get_contents($token_url);
$user_id = THE_CURRENT_USER_ID;
$apprequest_url ="https://graph.facebook.com/" . $user_id . "/apprequests?message='INSERT_UT8_STRING_MSG'" . "&data='INSERT_STRING_DATA'&" .
$app_access_token . "&method=投稿";
$result = file_get_contents($apprequest_url); echo("アプリリクエストを送信しましたか?", $result); ?>