use of com.googlecode.flickrjandroid.oauth.OAuthInterface in project glimmr by brk3.
the class GetAccessTokenTask method doInBackground.
@Override
protected OAuth doInBackground(String... params) {
String oauthToken = params[0];
String oauthTokenSecret = params[1];
String verifier = params[2];
Flickr f = FlickrHelper.getInstance().getFlickr();
OAuthInterface oauthApi = f.getOAuthInterface();
try {
return oauthApi.getAccessToken(oauthToken, oauthTokenSecret, verifier);
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
Aggregations