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
Contributor
Posts: 19
Registered: ‎09-10-2012
My Device: BlackBerry Curve 8520
My Carrier: BlackBerry

twitter code for blackberry

Hello All,

 

I need BB code for twitter to tweet. I used -" http://supportforums.blackberry.com/t5/Java-Development/Twiiter-Status-Update-Code-for-those-who-wan... "but its giving me error. I posted this as my query in this thread itself.

 

I used "http://supportforums.blackberry.com/t5/Java-Development/OAuth-OAuth-workaround/td-p/392777/page/6" of

But no luck.
 
Can anyone help me PLEASE..  Its really very urgent.. Just need to know , with which api I should use.
 
 
Thanks in advance for your help.
 
Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: twitter code for blackberry

i used x-auth instead of o-auth, which is a lot simpler but requires you to register with twitter.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 19
Registered: ‎09-10-2012
My Device: BlackBerry Curve 8520
My Carrier: BlackBerry

Re: twitter code for blackberry

@simon_hain Thank you Sir for your reply.

 

 I already registered my application and got the credentials like: consumerKey, consumerSecret etc from twitter.

 

Kindly let me know what should do for x-auth.

Can you give me any path for example or apis.

 

 

Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: twitter code for blackberry

i used twitterME as a library.
did you search the forum?
one of the hits would be http://supportforums.blackberry.com/t5/Java-Development/Twitter-via-xAuth/td-p/1336163
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 19
Registered: ‎09-10-2012
My Device: BlackBerry Curve 8520
My Carrier: BlackBerry

Re: twitter code for blackberry

Thanks again for your reply.


I am using TwitterImplementBB.zip (page 4) for X-auth. But getting error - Error by posting tweet geo.Read-only application cannot POST. plz refer this link

http://supportforums.blackberry.com/t5/Java-Development/Twitter-is-Integrated-in-BlackBerry/m-p/2115...

 

I think this application doesn't allow to write tweet. In login screen twitterLogin.png

Developer
Posts: 17,011
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: twitter code for blackberry

looks like you need to request other permissions.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
Contributor
Posts: 19
Registered: ‎09-10-2012
My Device: BlackBerry Curve 8520
My Carrier: BlackBerry

Re: twitter code for blackberry

Sir, Do you have any idea which permission it requires?