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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
bb_Dev12
Posts: 19
Registered: ‎09-10-2012
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.
 
Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
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
Please use plain text.
Contributor
bb_Dev12
Posts: 19
Registered: ‎09-10-2012
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.

 

 

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
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
Please use plain text.
Contributor
bb_Dev12
Posts: 19
Registered: ‎09-10-2012
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

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
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
Please use plain text.
Contributor
bb_Dev12
Posts: 19
Registered: ‎09-10-2012
My Carrier: BlackBerry

Re: twitter code for blackberry

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

Please use plain text.