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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Twitter is Integrated in BlackBerry

warm regards
Mohammed Aziz
Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Twitter is Integrated in BlackBerry

Hi pankajace12

I have implemented your provided code, but when I am clicking on Tweet button I am getting this error.

Error authenticating user! -> oauth_request_token_failed, Failed to validate oauth signature and token...

Can you please explain me what this is and how to get this and from where?

And can you say what is Callback URL?

Kindly help me to integrate twitter integration in my BB app.
warm regards
Mohammed Aziz
Highlighted
Developer
Posts: 209
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

Hi Mohammed

 

I did not face any issue per your. Error authenticating user! -> oauth_request_token_failed, Failed to validate oauth signature and token...

And, I don't have much knowledge about  Callback URL. So I have just put an URL like www.abc.com,

 Thanks

Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Twitter is Integrated in BlackBerry

but what about token, secret, userid and username of showAuthBrowser class?
warm regards
Mohammed Aziz
Developer
Posts: 209
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

token is required, because, we need not to login more than one time.

ShowAuthBrowser is being used , for the first time, so that they would be able to get the Login pages.
New Developer
Posts: 60
Registered: ‎09-23-2011
My Device: Blackberry
My Carrier: Blackberry Developer

Re: Twitter is Integrated in BlackBerry

Hello,

 

@pankaj,

 

click on reply ,

 

you show the screen of rely message.

At the right of screen you show the Attachment option

 

Thanks!!

Regards,

Aniruddha

Developer
Posts: 209
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

Hey Aniruddha,

There not any option for attachement.


Actually, We get the attachment option accoring to rank.

As I don't have developer rank, so there is not any option for attachment.

Thanks
 

Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Twitter is Integrated in BlackBerry

I understand what pankaj is saying.

Here I want to suggest pankaj that he can mail us the working code at our mail mine is azizsohail.m@gmail.com, So that I can post the same, as I have the developer rank.

warm regards
Mohammed Aziz
Developer
Posts: 209
Registered: ‎04-30-2011
My Device: BlackBerry Z10
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

HI Mohammed

I cannot send you personally the code at any one email.

Sorry for this.

I have posted entire code here...
Developer
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold
My Carrier: Vodafone India

Re: Twitter is Integrated in BlackBerry

Hi Pankaj

 

Can you tell me from where to get token, secret, id and username?.  As I have only consumer and secret key

 

I am getting the error and you are not getting it, that means that the problem is with this four variables in StoreToken class or with consumer secret and consumer key.

 

Thank you

warm regards
Mohammed Aziz