fernandezpablo85/scribe-java — Issue #179: DropBoxApi: callback not set
Author: farble1670
Created: 2011-10-15 02:06:51+00:00
State: open

using DropBoxApi, the oauth_callback parameter is not set, even though the service is constructed with callback(). for example,

```
service = new ServiceBuilder().provider(DropBoxApi.class)
.apiKey(config.getProperty("key"))
.apiSecret(config.getProperty("secret"))
.callback("http://google.com").build();
```

from this, i get an auth URL back from scribe that looks like,

```
https://www.dropbox.com/0/oauth/authorize?oauth_token=4c2chxwzg75k2qe
```

however, if i create a class like,

```
public class FixedDropBoxApi extends DropBoxApi {
@Override
public String getAuthorizationUrl(Token requestToken) {
return super.getAuthorizationUrl(requestToken)
+ "&oauth_callback=http://google.com";
}
}
```