Request token retrieval failed:

RESPONSE:

Array
(
    [linkedin] => Array
        (
            [oauth_problem] => Scope "r_basicprofile" is not authorized for your application
        )

    [info] => Array
        (
            [url] => https://api.linkedin.com/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress+w_share
            [content_type] => application/x-www-form-urlencoded;charset=UTF-8
            [http_code] => 403
            [header_size] => 717
            [request_size] => 528
            [filetime] => -1
            [ssl_verify_result] => 0
            [redirect_count] => 0
            [total_time] => 0.704583
            [namelookup_time] => 0.005351
            [connect_time] => 0.005792
            [pretransfer_time] => 0.024117
            [size_upload] => 0
            [size_download] => 93
            [speed_download] => 132
            [speed_upload] => 0
            [download_content_length] => 93
            [upload_content_length] => -1
            [starttransfer_time] => 0.704503
            [redirect_time] => 0
            [redirect_url] => 
            [primary_ip] => 144.2.0.4
            [certinfo] => Array
                (
                )

            [primary_port] => 443
            [local_ip] => 122.201.69.116
            [local_port] => 36054
        )

    [oauth] => Array
        (
            [header] => Authorization: OAuth realm="http%3A%2F%2Fapi.linkedin.com",oauth_version="1.0",oauth_nonce="585bd9465c05523e2ae0e8e4032c0c73",oauth_timestamp="1585559590",oauth_consumer_key="8hkgt392a71p",oauth_callback="https%3A%2F%2Fwww.top4.com.au%2Fsocial%2Flinkedin.php%3Ftype%3Dshare_news",oauth_signature_method="HMAC-SHA1",oauth_signature="qpXgbQWL8ln3tfC%2FlwqYTUbPzlA%3D"
            [string] => POST&https%3A%2F%2Fapi.linkedin.com%2Fuas%2Foauth%2FrequestToken&oauth_callback%3Dhttps%253A%252F%252Fwww.top4.com.au%252Fsocial%252Flinkedin.php%253Ftype%253Dshare_news%26oauth_consumer_key%3D8hkgt392a71p%26oauth_nonce%3D585bd9465c05523e2ae0e8e4032c0c73%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1585559590%26oauth_version%3D1.0%26scope%3Dr_basicprofile%2520r_emailaddress%2520w_share
        )

    [error] => OAuth callback URL was not confirmed by the LinkedIn end-point
    [success] => 
)


LINKEDIN OBJ:

LinkedIn Object
(
    [callback:protected] => https://www.top4.com.au/social/linkedin.php?type=share_news
    [token:protected] => 
    [application_key:protected] => 8hkgt392a71p
    [application_secret:protected] => ItAgTNaacr0yVCHL
    [response_format:protected] => xml
    [last_request_headers] => Array
        (
            [0] => Authorization: OAuth realm="http%3A%2F%2Fapi.linkedin.com",oauth_version="1.0",oauth_nonce="585bd9465c05523e2ae0e8e4032c0c73",oauth_timestamp="1585559590",oauth_consumer_key="8hkgt392a71p",oauth_callback="https%3A%2F%2Fwww.top4.com.au%2Fsocial%2Flinkedin.php%3Ftype%3Dshare_news",oauth_signature_method="HMAC-SHA1",oauth_signature="qpXgbQWL8ln3tfC%2FlwqYTUbPzlA%3D"
            [1] => Content-Type: text/plain; charset=UTF-8
        )

    [last_request_url] => https://api.linkedin.com/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress+w_share
)
Linkedin Login Page

If you are not automatically redirect to Linkedin Login Page, Please Click Here