0
https://dev.evernote.com/doc/articles/authentication.phpの後にOAuth1
とevernote api
を使用しようとしています。 ただし、一時的なトークンを生成しようとすると、次のメッセージが表示されます。Evernote:一時的なトークンを生成できません
エラーが発生しました。
私は、次のOAuthライブラリを使用しています:https://github.com/sirikata/liboauthcpp と私がしたすべては、次のようにデモ/ simple_auth.cppを修正しました:
std::string consumer_key = ""; // Key from evernote
std::string consumer_secret = ""; // Secret from evernote
std::string request_token_url = "https://sandbox.evernote.com/oauth";
std::string request_token_query_args = "oauth_callback=oob";
std::string authorize_url = "https://sandbox.evernote.com/OAuth.action";
std::string access_token_url = "https://sandbox.evernote.com/oauth";
ありがとう、ドキュメントに示唆されているようにlocalhostに変更しました。 – JohnWineShirt