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
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

Re: Twitter is Integrated in BlackBerry

:Oops:

warm regards
Mohammed Aziz
Please use plain text.
Developer
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

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
Please use plain text.
Developer
pankajace12
Posts: 203
Registered: ‎04-30-2011
My Device: BlackBerry Z10

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

Please use plain text.
Developer
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

Re: Twitter is Integrated in BlackBerry

but what about token, secret, userid and username of showAuthBrowser class?
warm regards
Mohammed Aziz
Please use plain text.
Developer
pankajace12
Posts: 203
Registered: ‎04-30-2011
My Device: BlackBerry Z10

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.
Please use plain text.
New Developer
Aniruddha
Posts: 60
Registered: ‎09-23-2011
My Device: Blackberry

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

Please use plain text.
Developer
pankajace12
Posts: 203
Registered: ‎04-30-2011
My Device: BlackBerry Z10

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
 

Please use plain text.
Developer
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

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
Please use plain text.
Developer
pankajace12
Posts: 203
Registered: ‎04-30-2011
My Device: BlackBerry Z10

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...
Please use plain text.
Developer
MohammedAziz
Posts: 139
Registered: ‎02-23-2012
My Device: Blackberry bold

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
Please use plain text.