Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package ru.hh.oauth.subscribe.apis;
 
 
 public class PlurkApi extends DefaultApi10a {
 
     private static final String REQUEST_TOKEN_URL = "http://www.plurk.com/OAuth/request_token";
     private static final String AUTHORIZATION_URL = "http://www.plurk.com/OAuth/authorize?oauth_token=%s";
    private static final String ACCESS_TOKEN_URL = "http://www.plurk.com/OAuth/access_token";
    @Override
    public String getRequestTokenEndpoint() {
        return ;
    }
    @Override
    public String getAuthorizationUrl(Token requestToken) {
        return String.format(requestToken.getToken());
    }
    @Override
    public String getAccessTokenEndpoint() {
        return ;
    }
    public static class Mobile extends PlurkApi {
        private static final String AUTHORIZATION_URL = "http://www.plurk.com/m/authorize?oauth_token=%s";
        @Override
        public String getAuthorizationUrl(Token requestToken) {
            return String.format(requestToken.getToken());
        }
    }
New to GrepCode? Check out our FAQ X