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
hims_3009
Posts: 227
Registered: ‎12-16-2009
My Device: 9530,8900,9000

Re: Twiiter Status Update Code for those who want..

For Creating Twitter application ,What should be the type of application ? Client or Browser if browser then what will be the CallBackURL?

Lathiya Himanshu
Please use plain text.
Trusted Contributor
hims_3009
Posts: 227
Registered: ‎12-16-2009
My Device: 9530,8900,9000

Re: Twitter Status Update Code for those who want..

Is it possible to get session information so user can not do login every time.

and how to do login-logout?

 

 

Lathiya Himanshu
Please use plain text.
Contributor
kaushikdeepak
Posts: 15
Registered: ‎12-22-2010
My Device: Not Specified

Re: Twiiter Status Update Code for those who want..

Getting error check your internet connection...but my MDS is connected with simulator...Is anything to change to check with simulator

Please use plain text.
New Contributor
WhiteFox09
Posts: 2
Registered: ‎05-05-2011
My Device: Bold9000

Re: Twiiter Status Update Code for those who want..

 

I got following  response on the call of :         tweet.requestToken(password, username);

 

response:

<?xml version="1.0" encoding="UTF-8"?><hash>  <error>Client application is not permitted to use xAuth.</error>  <request>/oauth/access_token</request></hash>

 

Please Help

 

 

thanks 

Please use plain text.
Regular Contributor
meghana_datar
Posts: 58
Registered: ‎11-24-2010
My Device: Not Specified

Re: Twiiter Status Update Code for those who want..

Hi... Thank You.. for the post.. Its really helpful.. Can you tell me how to do it using oAuth ..... Thank You in advance
Please use plain text.
Regular Contributor
erAjayGoyal
Posts: 97
Registered: ‎04-19-2012
My Device: BB Torch-9800

Re: Twiiter Status Update Code for those who want..

Hello Yakub,
Thanks for the code,
but i'm getting the error on request token, below output i'm getting...
<hash>
[0.0] <error>xAuth &#2325;&#2366; &#2346;&#2381;&#2352;&#2351;&#2379;&#2327; &#2325;&#2352;&#2344;&#2375[0.0] ; &#2325;&#2375; &#2354;&#2367;&#2319; &#2325;&#2381;&#2354;&#2366;&#2319;&#2306;&#2335; &#2309;&#23[0.0] 44;&#2369;&#2346;&#2381;&#2352;&#2351;&#2379;&#2327; &#[0.0] 2325;&#2379; &#2309;&#2344;&#2369;&#2350;&#2340;&#2367; &#2344;&#2361;&#2368;&#2306; &#2361;&#2376;.[0.0] </error>
[0.0] <request>/oauth/access_token</request>
[0.0] </hash>

Please tell me where i'm doing wrong?

Regards,
Ajay
Please use plain text.
Contributor
bb_Dev12
Posts: 19
Registered: ‎09-10-2012
My Device: BlackBerry Curve 8520

Re: Twiiter Status Update Code for those who want..

[ Edited ]

Hello All,

 

I registered my app at twitter and got the credentials. I am using the same code provided in this thread by lynxgeek.

 

But in response of  tweet.requestToken(PASSWORD, USERNAME); I am getting -

<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <request>/oauth/access_token</request>
  <error>xAuth &#2325;&#2366; &#2346;&#2381;&#2352;&#2351;&#2379;&#2327; &#2325;&#2352;&#2344;&#2375; &#2325;&#2375; &#2354;&#2367;&#2319; &#2325;&#2381;&#2354;&#2366;&#2319;&#2306;&#2335; &#2309;&#2344;&#2369;&#2346;&#2381;&#2352;&#2351;&#2379;&#2327; &#2325;&#2379; &#2309;&#2344;&#2369;&#2350;&#2340;&#2367; &#2344;&#2361;&#2368;&#2306; &#2361;&#2376;.</error>
</hash>

 

Kindly suggest the solution for this.

 

Thanks in advance

Please use plain text.