Facebook_Helpers::get_login_dialog_uri()
Create and retrieve a url that will be passed to API to create an OAuth url.
Return Return
(string)
Source Source
File: src/integrations/facebook/helpers/facebook-helpers.php
private function get_login_dialog_uri() { return add_query_arg( array( 'action' => 'facebook_authorization_request', 'nonce' => wp_create_nonce( self::OPTION_KEY ), 'user_url' => rawurlencode( admin_url( 'admin-ajax.php' ) . '?action=' . $this->wp_ajax_action ), ), $this->fb_endpoint_uri ); }
Expand full source code Collapse full source code View on Github