Quantcast
Channel: OKWAVE 最新質問([技術者向] コンピューター/205)【本日】
Viewing all articles
Browse latest Browse all 38062

codebird:リクエストトークンが取得できない

$
0
0
codebirdでWordpressに『Twitterでログイン』機能を作ろうとしているのですが しょっぱなのrequest_token取得からつまづいてます コードはcodebirdのgitのサンプルコードそのままです $reply = $cb->oauth_requestToken(array('oauth_callback' => 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']));//ここで取得失敗 $var_dump($reply);//出力 ↓ object(stdClass)#2 (2) { ["message"]=> string(44) "Failed to validate oauth signature and token" ["httpstatus"]=> int(401) } みたいなカンジです 同アプリケーションにて自分のTwitterアカウントにaccess_tokenを発行して codebirdでタイムラインを取得できることは確認しています codebird自体は稼働しているしconsumer_keyは間違っていないはずです dev.twitterのアプリケーションのsettingでは Sign in with Twitterはyesになっています またTwitterAPIの仕様が変わったんでしょうか? よろしくお願いします

Viewing all articles
Browse latest Browse all 38062

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>