Request token retrieval failed:

RESPONSE:

Array
(
    [linkedin] => Array
        (
            [oauth_problem] => Scope NOT_AUTHORIZED : r_network, Scope NOT_AUTHORIZED : rw_nus
        )

    [info] => Array
        (
            [url] => https://api.linkedin.com/uas/oauth/requestToken?scope=rw_nus+r_network+r_emailaddress+r_basicprofile
            [content_type] => application/x-www-form-urlencoded;charset=UTF-8
            [http_code] => 403
            [header_size] => 679
            [request_size] => 563
            [filetime] => -1
            [ssl_verify_result] => 0
            [redirect_count] => 0
            [total_time] => 0.210513
            [namelookup_time] => 0.004193
            [connect_time] => 0.030459
            [pretransfer_time] => 0.087395
            [size_upload] => 0
            [size_download] => 97
            [speed_download] => 460
            [speed_upload] => 0
            [download_content_length] => 97
            [upload_content_length] => 0
            [starttransfer_time] => 0.210504
            [redirect_time] => 0
            [redirect_url] => 
            [primary_ip] => 108.174.10.12
            [certinfo] => Array
                (
                )

            [primary_port] => 443
            [local_ip] => 10.153.224.18
            [local_port] => 41986
        )

    [oauth] => Array
        (
            [header] => Authorization: OAuth realm="http%3A%2F%2Fapi.linkedin.com",oauth_version="1.0",oauth_nonce="60c919ba63c3dad84c935a852898b449",oauth_timestamp="1441072466",oauth_consumer_key="64ikpwgde0jd",oauth_callback="http%3A%2F%2Fwww.classroom.tv%3A80%2Fuser%2Flinkedin%2Fconnect%3FlResponse%3D1",oauth_signature_method="HMAC-SHA1",oauth_signature="P8jennVDLaEHEem%2BmWjdacXd5Q4%3D"
            [string] => POST&https%3A%2F%2Fapi.linkedin.com%2Fuas%2Foauth%2FrequestToken&oauth_callback%3Dhttp%253A%252F%252Fwww.classroom.tv%253A80%252Fuser%252Flinkedin%252Fconnect%253FlResponse%253D1%26oauth_consumer_key%3D64ikpwgde0jd%26oauth_nonce%3D60c919ba63c3dad84c935a852898b449%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1441072466%26oauth_version%3D1.0%26scope%3Drw_nus%2520r_network%2520r_emailaddress%2520r_basicprofile
        )

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


LINKEDIN OBJ:

LinkedIn Object
(
    [callback:protected] => http://www.classroom.tv:80/user/linkedin/connect?lResponse=1
    [token:protected] => 
    [application_key:protected] => 64ikpwgde0jd
    [application_secret:protected] => kPt6W9EJXPAVzA5d
    [response_format:protected] => JSON
    [last_request_headers] => Array
        (
            [0] => Authorization: OAuth realm="http%3A%2F%2Fapi.linkedin.com",oauth_version="1.0",oauth_nonce="60c919ba63c3dad84c935a852898b449",oauth_timestamp="1441072466",oauth_consumer_key="64ikpwgde0jd",oauth_callback="http%3A%2F%2Fwww.classroom.tv%3A80%2Fuser%2Flinkedin%2Fconnect%3FlResponse%3D1",oauth_signature_method="HMAC-SHA1",oauth_signature="P8jennVDLaEHEem%2BmWjdacXd5Q4%3D"
            [1] => Content-Type: text/plain; charset=UTF-8
            [2] => x-li-format: json
        )

    [last_request_url] => https://api.linkedin.com/uas/oauth/requestToken?scope=rw_nus+r_network+r_emailaddress+r_basicprofile
)
invalid tokens