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
Developer
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Twitter : Verify Credentials Issue Error Code 410

[ Edited ]

Hi all,

 

Due to recent changes in Twitter API. I have been facing issue with Twitter - verifyCredentials(). It was throwing IOException due to HTTP Response Code 410.

 

As, the Twitter APIs are changed, we need to update the Twiiter jar, we are using in our aplications.

 

http://dodevelopnshare.wordpress.com/2013/06/29/twitter-ap-v1-retired-twitter-jar-twitter_api_me-1-9...

http://kenai.com/projects/twitterapime/downloads/download/1.9/twitter_api_me-1.9-beta.zip

 

Enjoy tweeting and thanks to https://kenai.com/nonav/people/28013-Ernandes-Mourao-Jr

 

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Contributor
Posts: 16
Registered: ‎04-25-2013
My Device: None
My Carrier: None

Re: Twitter : Verify Credentials Issue Error Code 410

 

Hi,

 

I tried to integrate new library in my project.but its not working,it is not going ahead of the call back url, i tried couple of urls but im not finding solution..could you please help me out of this.

Thanks & Regards
Dhara Jogi
Developer
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Re: Twitter : Verify Credentials Issue Error Code 410

Hi,

 

This JAR is slow in comparison to 1.8 taht's why it looks lilke it is stuck, but its working.. I have tested this code and its working fine in actual device.

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Super Contributor
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900
My Carrier: sdvsdvsd

Re: Twitter : Verify Credentials Issue Error Code 410

yes i'm getting the same problem ,i have used google.com as callbackurl when i run the app it'll just show my callbackurl and does not post Tweets ..plz if anybody solve this issue plz send me the Zip file of twitter source code with new working libraries
Contributor
Posts: 16
Registered: ‎04-25-2013
My Device: None
My Carrier: None

Re: Twitter : Verify Credentials Issue Error Code 410

Hi,

 

if u write callback url as google.com,google redirects to google url specific to your country

in OAuthDialogWrapper class, trackURL method, it checks url returned from browserfield with ur specified call back url.

so try google.co.in in ur call back url it will work.

this is what i did.

Thanks & Regards
Dhara Jogi
Super Contributor
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900
My Carrier: sdvsdvsd

Re: Twitter : Verify Credentials Issue Error Code 410

could you provide me the code for twitter
Contributor
Posts: 16
Registered: ‎04-25-2013
My Device: None
My Carrier: None

Re: Twitter : Verify Credentials Issue Error Code 410

just add library to ur project and add callback url as http://www.google.co.in/

it will work.

 

Thanks & Regards
Dhara Jogi
Super Contributor
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900
My Carrier: sdvsdvsd

Re: Twitter : Verify Credentials Issue Error Code 410

thanks for your reply and it works for me.., the new jar files are working
Super Contributor
Posts: 425
Registered: ‎01-02-2013
My Device: BOLD 9900
My Carrier: sdvsdvsd

Re: Twitter : Verify Credentials Issue Error Code 410

@kanaksony.., i use the updated jar file and that really works for me.. but when i click the button first time the tweet is posted but when i click the button second time to post tweet i'm getting Exception Sorry, that page does not exsist