[twitter-dev] 403 error during status update

2011-05-06 Thread j2me
Hello everyone
I was able to get token and secret and able to get the timeline of the
user. But when i tried to update status i get 403 error. And I am not
being able to get the error response. All I get is 403 error which
says Forbidden. When I try to get the actual response I exception is
thrown. I am using JAVA(desktop). These are my base string, header and
connecting url

POST&https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses
%2Fupdate.json&oauth_consumer_key%3D%26oauth_nonce
%3D-783282128%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1304731810%26oauth_token%3D%26oauth_version%3D1.0%26status
%3Dtesting%2520testing


OAuth oauth_signature="ZnacQwEWpKCAUmh6D2EEnDKbP7Q%3D",
oauth_version="1.0", oauth_nonce="-783282128",
oauth_signature_method="HMAC-SHA1", oauth_consumer_key="", oauth_token="", oauth_timestamp="1304731810"


https://api.twitter.com/1/statuses/update.json?status=testing%20testing

is there anything wrong going in my basestring, header and url?

I tried using a scribe. I get the same basestring, header while using
same timestamp and nonce. signature matches.

Any help?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] problem with CertificateException

2010-11-13 Thread j2me
Hello everyone.
My last two post was about error in login, but I got no response. On
detail study, I got the following error, seems to me a certificate
problem but not sure.
My error was class named "javax.microedition.pki.CertificateException"
and the reason, it was null.

Any idea how to solve this?

Is this problem with my cell phone or with code?

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Authentication error

2010-10-19 Thread j2me
Sorry for duplicate post, but since the previous post was old I think
nobody caught eyes.

My previous post was here
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/3723503993279c5e/d1d9278f754030e8?lnk=gst&q=login+error#d1d9278f754030e8

My problem was, I could not  login successfully using mobile internet.
but using pc internet i can login successfully. I tried this in lot of
devices, in all case i could not success. Using wifi in mobile the
problem did not occurred. As far as I know, it is occurring in GPRS.

Is anyone  familiar to this problem and solved??

Thanks

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Could not login

2010-10-10 Thread j2me
Hello there everyone.

I have a problem regarding twitter login. When I try logging in using
mobile emulator in my PC, I get no error ang get logged in , but when
i try it on my real mobile device, my login fails. But previously it
worked fine in my real device too. I got problem now. My device is
Nokia N70.

If anyone out there is familiar with my problem and got solution,
please help me out.

Thanks

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: j2me twitter

2010-09-11 Thread j2me
Other question too.

When i tried those codes form www.twitterapime.com ,
once my program caught an exception(however now I forgot what that
exception was) and sometime says could not verify(according to my
program, I displayed could not verify while verifyCredential()
returned false).

Is that because of my consumer key and consumer secret?

And still I am not out of this oAuth...

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


[twitter-dev] j2me twitter

2010-09-09 Thread j2me
Hello everyone.

I wanted to build a twitter application for mobile phone. But as
other, I got stuck in oAuth authentication of twitter. I read a lot in
this development talks but I could not managed to do one.

I registered for twitter application and I got Consumer key and
Consumer secret.

Can anyone in here provide me some sample on how to create connection?

There are some common link in this discussion that I have already gone
through. I request not to post any url form dev.twitter. I did not get
any idea from there. Any sample code, or url for complete oAuth
process would be appreciated. And if there is any API that i could
use, that will also be appreciated with their working.

Thanks

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en