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
babakar
Posts: 730
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

so i still get redirected to the call back url, and on top your app is being authorize

were u able to reproduce same scenario with the keys i gave u?
Please use plain text.
Developer
pankajace12
Posts: 197
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

hi

change this :

String message="";
boolean done=false;
done=tw.doTweet(message, c);

here message have thing. means blank string is going pass on server.

And, one thing, if you put any other url in call back. it does work.

for example put there :

callbackurl="http://www.a1technology.com"

Thanks
Pawan
Please use plain text.
Developer
babakar
Posts: 730
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

what do i change in it?

its same as is inside onauthorize function
Please use plain text.
Developer
pankajace12
Posts: 197
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

See,

String message=""; just put any value. like

String message="pawan kumar jha";

Thanks
Please use plain text.
Developer
babakar
Posts: 730
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

it makes no difference, it stil stuck on your app is being authorize with the re-directed webpage.
Please use plain text.
Developer
pankajace12
Posts: 197
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

HI

Sorry, I have no idea about this.

Thanks
Please use plain text.
Developer
babakar
Posts: 730
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

it worked my friend when i changed the url from www.jaww.fm to www.google.com

thank you for all the help
Please use plain text.
Developer
pankajace12
Posts: 197
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

Hi Babakar Congrats,

Please mark it as a solution. if your problem is solved.

Thanks

Please use plain text.
Developer
babakar
Posts: 730
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: Twitter is Integrated in BlackBerry

where is mark as solution though? usually in every thread i have it...but not in this one, maybe its marked as solution before?
Please use plain text.
Developer
pankajace12
Posts: 197
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: Twitter is Integrated in BlackBerry

HI Babakar

may be. if you find thread help you. you can also press "kudo" or "Accept as Solution".

Thanks
Please use plain text.