저는 Twitters OAuth를 사용하여 첫 번째 시스템을 구축 중이며 몇 가지 문제가 있습니다."인증 할 수 없습니다." 트위터 OAuth를 사용할 때 오류가 발생했습니다.
먼저 아브라함의 Twitter 클래스를 사용하고 있으며 this 튜토리얼을 따라갔습니다. 그러나, 내 전화 회선에 이러한 라인을 얻을 :
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\xampp\htdocs\twitter\twitterOAuth\OAuth.php on line 301
Warning: strtoupper() expects parameter 1 to be string, array given in C:\xampp\htdocs\twitter\twitterOAuth\OAuth.php on line 373
Oops - an error has occurred.
SimpleXMLElement Object
(
[request] => /account/verify_credentials.xml
[error] => Could not authenticate you.
)
이 문제는 트위터 클래스에 의해, 또는 내가 뭔가 잘못하고 있습니까? 튜토리얼에 나와있는 것처럼 config.php에 내 Consumer Key와 Consumer Secret이 있지만 다른 것을 저장해야합니까?
Martti Laine