01-24-2013 04:46 AM - edited 01-24-2013 04:47 AM
Can we post the tweet using TwitterImplementBB.zip?
There is a line of code -done=tw.doTweet(message, c); I think its for posting the tweet
but its giving me an exception -Error by posting tweet to friend.Read-only application cannot POST.
I need to know, how to post tweet using this code.
Thanks
01-24-2013 05:22 AM
01-24-2013 05:59 AM - edited 01-24-2013 06:46 AM
pankajace12 First of all thank you for sharing this code. its really helpful.
I used callback url as - "https://www.google.co.in/" than doTweet(); called and exception came.
But when i used "http://google.com" , its doing nothing. Function onAuthorize(final Token token) was not called
Can you plz let me know if this code post a tweet in twitter website ?
Becoz in login page, its written that its read only application.
Thank you for your help.
01-24-2013 07:21 AM
I used CALLBACK_URL ="www.google.com"; than this page came, but tweet is not getting posted on the twitter site
01-27-2013 08:32 AM
pankajace12 ,
Hi
I have changed the callback url... dont know what should do else, please help?, Does It require any permissions?
Thank you.
Can anyone please help???
01-28-2013 08:04 AM
Hi bb_dev12,
Please find attached the jar file and Entire src code.
Here you are to just put ur secret id and consumer id.
Thanks
01-28-2013 12:12 PM - edited 01-28-2013 12:22 PM
Thank you so much for all your help.
I am able to do tweet by the code (TwitterImplementBB.zip).
Now there are two situation:
1- if I set callback url as "http://google.com" etc. it redirects to this web page and tweet success.
2- if I set callback url as "" (blank), than it redirects to the web page containng PIN no , stating :
"Now return to your application again and enter this PIN"
I am not able to understand where to enter this PIN, in case i am not intereseted to use callback_url.
Do you have any idea regarding this?
( FYI I have added http://www.google.co.in as callback url in twitter to register my application.) So can it be left as blank?
01-29-2013 02:03 AM
Hi,
BB_dev12,
See, this redirection comes only time. so, i have used this. i think its not a heavy task for user or programmer too. So i will suggest you, let ignore this.
Thanks
03-03-2013 11:45 PM
Hello,
I Try your code its very useful thanks ![]()
but i have some problem here
after i login , its redirecting to url callback but onAuthorize() its not invoked
please help me
thanks in advanced
03-06-2013 03:10 AM
hey my onAuthorize() problem already solved maybe the problem is url callback i put it has too large data to load,
my problem now is
when i running the apps on simulator os 5 (8520) its working fine but when i try it on OS7 simulator (9900)
after i login in the twitter login page the application is suddenly close ![]()
is there anybody here has some probelm with me ????
help me