File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
scribejava-apis/src/test/java/com/github/scribejava/apis/examples Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,13 @@ public abstract class OdnoklassnikiExample {
1818
1919 public static void main (String ... args ) {
2020 // Replace these with your client id and secret
21- final String clientId = "your client id" ;
22- final String publicKey = "your api secret " ;
23- final String clientSecret = "your client secret" ;
21+ final String clientId = "your api client id" ;
22+ final String publicKey = "your api public key " ;
23+ final String secretKey = "your api secret key " ;
2424
2525 final OAuth20Service service = new ServiceBuilder ()
2626 .apiKey (clientId )
27- .apiSecret (clientSecret )
28- .scope ("VALUABLE ACCESS" )
27+ .apiSecret (secretKey )
2928 .grantType (OAuthConstants .AUTHORIZATION_CODE )
3029 .callback ("http://your.site.com/callback" )
3130 .build (OdnoklassnikiApi .instance ());
You can’t perform that action at this time.
0 commit comments