Yahoo strategy for Code Igniter

25 views
Skip to first unread message

Quang Trần Trọng

unread,
Jul 7, 2014, 7:45:49 AM7/7/14
to opa...@googlegroups.com
I'm using CI with Opauth library, I did exactly follow this instruction, I also got client_id, client_secret, but the error:

Array
(
    [error] => Array
        (
            [provider] => Yahoojp
            [code] => access_token_error
            [message] => Failed when attempting to obtain access token
            [raw] => Array
                (
                    [response] => 0
                    [headers] => HTTP/1.1 400 Bad Request
Date: Mon, 07 Jul 2014 11:42:56 GMT
P3P: policyref="http://privacy.yahoo.co.jp/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"
Cache-Control: no-cache, no-store, must-revalidate, private
Cache-Control: no-store
Pragma: no-cache
Vary: Accept-Encoding
Connection: close
Content-Type: application/json;charset=UTF-8
                )

        )

    [timestamp] => 2014-07-07T13:42:48+02:00
)

I don't know exactly what happen.
I hope someone can help me,
Thanks! 
Reply all
Reply to author
Forward
0 new messages