저는 Codeplex의 AWeber API를 사용하여 전용 응용 프로그램을 만듭니다.AWeber API에 인증 키 저장
http://aweber.codeplex.com/documentation에있는 문서에 따르면, 응용 프로그램을 인증 한 후에 추가 호출에 사용되는 api.OAuthToken 및 api.OAuthTokenSecret을 저장할 수 있습니다. 내가 코드에서 무엇을
이다 : 나는 Remote Server: 401 Not authorized
예외를 받고 있어요 호출에
API api = new API(consumerKey, consumerSecret);
api.OAuthToken = oauth_token; // Saved previously
api.OAuthTokenSecret = oauth_token_secret; // Saved previously
Account account = api.getAccount();
api.getAccount()
에.
내가 뭘 잘못하고있어? 얼마나 오래 토큰을 저장할 수 있습니까? 다른 전화가 필요하거나 API에 다른 필드를 설정해야합니까?
모든 답변을 보내 주셔서 감사합니다.