fernandezpablo85/scribe-java — Issue #177: Flickr Support
Author: farble1670
Created: 2011-10-10 21:25:27+00:00
State: open

i'm trying to use Scribe w/ Flickr,
http://www.flickr.com/services/api/auth.oauth.html

i created a FlickrApi.java that looks like this,

```
public class FlickrApi extends DefaultApi10a {
private static final String AUTH_URL = "http://www.flickr.com/services/oauth/authorize?oauth_token=%s";

@Override
public String getAccessTokenEndpoint() {
return "http://www.flickr.com/services/oauth/access_token";
}

@Override
public String getAuthorizationUrl(Token requestToken) {
return String.format(AUTH_URL, requestToken.getToken());
}

@Override
public String getRequestTokenEndpoint() {
return "http://www.flickr.com/services/oauth/request_token";
}

}
```

i get the request token okay, and i redirect the user to the auth url. the auth page looks okay, but when i clock "accept", i get a message on the page stating,

```"Oops! Flickr doesn't recognise the "oauth_token" this application is trying to use."```

please let me know if there is other information i can provide.