Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Trusted Contributor
Posts: 144
Registered: ‎05-04-2011
My Device: blackberry mobiles
My Carrier: app development

Twitter api me 1.8.3 issue

Hello Friends,

 

In my application i post a message using twitter api me 1.8.3(Latest one).

 

This is my parameters.

 

private final String CONSUMER_KEY = "";
    private final String CONSUMER_SECRET = "";

public static final String OAUTH_CALLBACK_SCHEME = "x-oauthflow-twitter";
    public static final String OAUTH_CALLBACK_HOST = "callback";
    public static final String OAUTH_CALLBACK_URL = OAUTH_CALLBACK_SCHEME+ "://" + OAUTH_CALLBACK_HOST;
    private final String CALLBACK_URL = OAUTH_CALLBACK_URL;

 

When i passed these parameters into the browserfieldoauthdialogwrapper class i am redirected to login  page where i provide credentials. After it successfully logged in  it shows me this error "error navigating to x-oauthflow-twitter://callback?oauth_token="some values"&oauth_verifier="some values".. It didnt post anything..

 


But when i used http://www.google.com(Only this URL) as a callback url it redirected to google page and then it successfully posted my message..

 

Can anyone help me to solve this problem..