Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「次の」パラメーターは getLogoutUrl() で機能しますが、getLoginUrl() では機能しません。何が間違っていますか?
getLogoutUrl(array('next' => site_url())) getLoginUrl(array('next' => site_url(), 'scope' => 'email'))
loginurl の redirect_uri である必要があります。
$params = array( scope => 'your_permissions_here', redirect_uri => 'Redirect_URL' //user will be redirected to this URL on both success or failure ); $loginUrl = $facebook->getLoginUrl($params);