Re: [twitter-dev] status destroy / caching in NewTwitter.

2010-10-19 Thread Pradeep Senanayake
HI, Tom,

What I just want to know is, how to get access tokens dynamically, using
https://api.twitter.com/oauth/request_token
url. I went through the documentation but I cant understand. Pls give me a
clue.

Thanks in advance.
Pradeep.

On Wed, Oct 6, 2010 at 12:42 AM, Tom Monaghan  wrote:

> Hi folks,
>
> Can someone please share the caching expiration plan for newtwitter?
> It seems to cache new content for a really, really long time (at least
> 12 hours, though I think this number is falling).
>
> A few of our apps will regularly destroy some of their past tweets.
> Users with oldtwitter will not see said tweet if they haven't had it
> in their stream, and if it is in their stream, will lose it in their
> first refresh or authentication cycle.  This is our expected behavior.
>
> Users with newtwitter will see those tweets, even after they have been
> destroyed.  Even if they didn't have an active session during the time
> of their creation / destruction.
>
> You can manually flush your home timeline's cache by leaving the
> preview to return to oldtwitter.  If you then go back to newtwitter,
> they stay gone.  Signing out / signing back in to newtwitter and
> destroyed tweets are still there.
>
> What are the new caching expiration values?  Are there plans to
> decrease them?  Is there a goal min/max that we can expect?  Is what
> I've described expected behavior?
>
> Any help would be appreciated.
>
> Thanks much,
> Tom
>
> --
> 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 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


Re: [twitter-dev] Can I tell how many tweets have been made by users of my app?

2010-10-07 Thread pradeep senanayake
hi All,

Can any one give me sample code which can be used to do twits in mobile J2ME
application,

Thanks in advance.
Pradeep.

On Thu, Oct 7, 2010 at 6:15 AM, jnardone  wrote:

> Hi:
>
> Is there a way to tell how may tweets have been sent by my app?  It
> uses Oath so people's tweets say "from xxx app"
>
> Also, is there a way to track the number of users who have made a
> tweet through my app?
>
> Thanks,
> Joseph
>
> --
> 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 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


Re: [twitter-dev] Twitter App working but...

2010-09-08 Thread pradeep senanayake
Hi tom,

Thanks for the reply, It doesnt give any exception, but the authentication
is failed  when it runs in the mobile phone,
but it runs in the emulator.
 code is like this,

try {
Credential credential = new
Credential("user","pwd",Constants.twitConsumerKey,Constants.twitConsumerSecretKey);
UserAccountManager userAccMgr =
UserAccountManager.getInstance(credential);

userAccMgr.setServiceURL(UserAccountManager.TWITTER_API_URL_SERVICE_OAUTH_ACCESS_TOKEN,
"http://api.twitter.com/oauth/access_token";);
if (userAccMgr.verifyCredential()) {
Tweet tweet = new Tweet(message);
TweetER tweeter = TweetER.getInstance(userAccMgr);
tweet = tweeter.post(tweet);
DialogFrame frame =  new DialogFrame();
frame.setTitle("Twitter");
frame.setBody("Successfully Twitted!");
frame.createUI(2);
}
else {
DialogFrame frame =  new DialogFrame();
frame.setTitle("Twitter");
frame.setBody("Cannot be Twitted!"+'\n'+"Check the account
detais.");
frame.createUI(2);
}
}
catch(Exception ex){
DialogFrame frame =  new DialogFrame();
frame.setTitle("Twitter");
frame.setBody(ex.getMessage()/*"Cannot be Twitted!"+'\n'+"Check
the account detais."*/);
frame.createUI(2);
ex.printStackTrace();
}

On Wed, Sep 8, 2010 at 11:14 PM, Tom van der Woerdt  wrote:

> More information would be appreciated :-) Like: errors? Code?
>
> Tom
>
>
> On 9/8/10 9:28 AM, Pradeep Senanayake wrote:
> > Hi,
> >
> > I changed the service url  from https to http. then it began to work in
> > simulator but  after I installed that mobile phone, it doesnt work.
> > Pls some body give me a solution for this.
> >
> > Thanks in advance
> > Pradeep.
> >
> > --
> > 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 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 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


Re: [twitter-dev] Twitter App working but...

2010-09-08 Thread Pradeep Senanayake
Hi Tom,

Thanks for the reply, It doesnt give any exception, but the authentication
is failed  when it runs in the mobile phone,
but it runs in the emulator.

Thanks & Regards,
Pradeep.

On Wed, Sep 8, 2010 at 11:14 PM, Tom van der Woerdt  wrote:

> More information would be appreciated :-) Like: errors? Code?
>
> Tom
>
>
> On 9/8/10 9:28 AM, Pradeep Senanayake wrote:
> > Hi,
> >
> > I changed the service url  from https to http. then it began to work in
> > simulator but  after I installed that mobile phone, it doesnt work.
> > Pls some body give me a solution for this.
> >
> > Thanks in advance
> > Pradeep.
> >
> > --
> > 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 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 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] Twitter App working but...

2010-09-08 Thread Pradeep Senanayake
Hi,

I changed the service url  from https to http. then it began to work in
simulator but  after I installed that mobile phone, it doesnt work.
Pls some body give me a solution for this.

Thanks in advance
Pradeep.

-- 
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


Re: [twitter-dev] Re: New SSL certificate issue with WTK 2.5.2

2010-09-03 Thread pradeep senanayake
Hi Matt,

Pls tel me how can I get the Single Access token auth in j2me
 thanks
Pradeep

On Fri, Sep 3, 2010 at 1:08 AM, Ernandes Jr.  wrote:

> If you use Twitter API ME Single Access token auth you will get access to
> Twitter API, even on emulator. When you use this type of auth, HTTPS is
> bypassed. But is just a workaround, since Single Access token has its
> constraints.
>
> On Wed, Sep 1, 2010 at 11:40 PM, Pradeep Senanayake <
> pradeepd.senanay...@gmail.com> wrote:
>
>> HI Matt.
>> tel me how can I get rid of that exception using HTTP. Thanks in
>> advance.
>>
>> On Aug 31, 9:06 am, Matt Harris  wrote:
>> > Hey Netroboost,
>> >
>> > If the device doesn't support wildcard SSL these isn't much that can
>> > be done except to use HTTP. This isn't recommended but if you have no
>> > choice it's all you can do.
>> >
>> > The only caveats to know about are:
>> > * xAuth requires SSL so won't be available to any devices that do not
>> > support our certificate
>> > * transmitting OAuth secrets without SSL increases their risk of being
>> > compromised
>> >
>> > Hope that helps,
>> > Matt
>> >
>> >
>> >
>> > On Fri, Aug 27, 2010 at 3:18 AM, Netroboost 
>> wrote:
>> >
>> > > Hi Matt,
>> >
>> > > Thank you for your response. Yes, I was finally able to get rid of the
>> > > exception with the method you suggested.
>> >
>> > > However as far as I know the issue extends beyond the Sun Java WTK.
>> > > Various handset manufacturers have different implementations of this
>> > > JSR and while some do accept wildcard SSL certificates, some do not.
>> >
>> > > In such a case wouldn't it be sensible for mobile app developers to
>> > > use the HTTP method as a fail-safe method for authentication? Is there
>> > > any catch to this?
>> >
>> > > Regards,
>> >
>> > > Amit.
>> >
>> > > On Aug 26, 6:22 am, Matt Harris  wrote:
>> > >> Hi Amit,
>> >
>> > >> This is an issue with the Sun WTK 2.5.2 not accepting wildcard SSL
>> > >> certificates and not with the Twitter API. In the future we would
>> like
>> > >> to move to a single domain certificate but there is no date as to
>> when
>> > >> that will be.
>> >
>> > >> Whilst it isn't something we like you to do, the OAuth process isn't
>> > >> forbidden over SSL, just strongly discouraged. This means HTTP could
>> > >> be used - but again, this is discouraged.
>> >
>> > >> Instead, as wildcard SSL certificates are perfectly valid I recommend
>> > >> asking on the developer forums for the Sun WTK to see if support will
>> > >> be added to the toolkit itself.
>> >
>> > >> Best,
>> > >> Matt
>> >
>> > >> On Mon, Aug 23, 2010 at 12:35 AM, Netroboost 
>> wrote:
>> > >> > Hi,
>> >
>> > >> > Has this issue been resolved yet?
>> >
>> > >> > I am using Sun WTK 2.5.2 and facing the same issue. The error
>> message
>> > >> > reads:
>> >
>> > >> > "Subject alternative name did not match site name"
>> >
>> > >> > Please help if anyone knows how to deal with this.
>> >
>> > >> > Thanks,
>> >
>> > >> > Amit.
>> >
>> > >> > On Jul 23, 10:18 pm, Matt Harris 
>> wrote:
>> > >> >> Hi,
>> >
>> > >> >> I've seen similar reports for other service providers about this
>> issue as
>> > >> >> well. My concern is wildcard certificates are perfectly valid and
>> are
>> > >> >> described in RFC2818 [1]. I'm not sure why Sun WTK doesn't support
>> them or
>> > >> >> of any workarounds but I would suggest asking on their support
>> channels.
>> >
>> > >> >> If there are any changes on our systems we will be communicate
>> them through
>> > >> >> this developer mailing list.
>> >
>> > >> >> Best,
>> > >> >> Matt
>> >
>> > >> >> 1.http://www.ietf.org/rfc/rfc2818.txt
>> >
>> > >> >> On Fri, Jul 23, 2010 at 4:56 AM, b

Re: [twitter-dev] Twitter Authentication

2010-09-01 Thread Pradeep Senanayake
HI

I also tried on J2ME platform 3 but its too gives an exception like belows

"javax.microedition.pki.CertificateException: Certificate was issued by an
unrecognized entity"

pls tel me how to avoid these certificate thing and get it done using Http.

thanks & regards,
Pradeep.

On Thu, Sep 2, 2010 at 10:34 AM, Pradeep Senanayake <
pradeepd.senanay...@gmail.com> wrote:

> HI,
>
> Thaks for the immediate  reply.
>
> It doesnt work in nokia N95 also, but I will try it on wtk 3.
>
> Thanks & Regards,
> Pradeep.
>
>
> On Wed, Sep 1, 2010 at 8:09 PM, Ernandes Jr.  wrote:
>
>> Hi,
>>
>> This is a known issue of WTK 2.5.2, which has some issues to support the
>> type of certificate used by Twitter. It has nothing to do with the API
>> itself. I suggest you to try it on Java ME Plataform SDK 3 or on your
>> device.
>>
>> Regards,
>> Ernandes
>>
>>
>> On Wed, Sep 1, 2010 at 2:20 AM, Pradeep Senanayake <
>> pradeepd.senanay...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Im using TwitterMe api for my mobile application, I registered my
>>> application in twitter and got the consumer key and the secret key.
>>> The problem Im having is after I post a twit it gives an exception
>>> which tells
>>>
>>> "javax.microedition.pki.CertificateException: Subject alternative name
>>> did not match site name"
>>>
>>> This is how I do the post.
>>>
>>> Credential credential = new Credential(user,
>>> pwd,Constants.twitConsumerKey,Constants.twitConsumerSecretKey);
>>> UserAccountManager userAccMgr =
>>> UserAccountManager.getInstance(credential);
>>>if (userAccMgr.verifyCredential()) {
>>>Tweet tweet = new Tweet(message);
>>>TweetER tweeter =
>>> TweetER.getInstance(userAccMgr);
>>>tweet = tweeter.post(tweet);
>>>DialogFrame frame =  new DialogFrame();
>>>frame.setTitle("Twitter");
>>>frame.setBody("Successfully Twitted!");
>>>frame.createUI(2);
>>>}
>>>
>>>
>>> pls some body help me. Thanks in advance.
>>>
>>> pradeep.
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> Ernandes Jr.
>> -
>> "ALL programs are poems. However,
>> NOT all programmers are poets."
>>
>>  --
>> 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 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] Re: New SSL certificate issue with WTK 2.5.2

2010-09-01 Thread Pradeep Senanayake
HI Matt.
tel me how can I get rid of that exception using HTTP. Thanks in
advance.

On Aug 31, 9:06 am, Matt Harris  wrote:
> Hey Netroboost,
>
> If the device doesn't support wildcard SSL these isn't much that can
> be done except to use HTTP. This isn't recommended but if you have no
> choice it's all you can do.
>
> The only caveats to know about are:
> * xAuth requires SSL so won't be available to any devices that do not
> support our certificate
> * transmitting OAuth secrets without SSL increases their risk of being
> compromised
>
> Hope that helps,
> Matt
>
>
>
> On Fri, Aug 27, 2010 at 3:18 AM, Netroboost  wrote:
>
> > Hi Matt,
>
> > Thank you for your response. Yes, I was finally able to get rid of the
> > exception with the method you suggested.
>
> > However as far as I know the issue extends beyond the Sun Java WTK.
> > Various handset manufacturers have different implementations of this
> > JSR and while some do accept wildcard SSL certificates, some do not.
>
> > In such a case wouldn't it be sensible for mobile app developers to
> > use the HTTP method as a fail-safe method for authentication? Is there
> > any catch to this?
>
> > Regards,
>
> > Amit.
>
> > On Aug 26, 6:22 am, Matt Harris  wrote:
> >> Hi Amit,
>
> >> This is an issue with the Sun WTK 2.5.2 not accepting wildcard SSL
> >> certificates and not with the Twitter API. In the future we would like
> >> to move to a single domain certificate but there is no date as to when
> >> that will be.
>
> >> Whilst it isn't something we like you to do, the OAuth process isn't
> >> forbidden over SSL, just strongly discouraged. This means HTTP could
> >> be used - but again, this is discouraged.
>
> >> Instead, as wildcard SSL certificates are perfectly valid I recommend
> >> asking on the developer forums for the Sun WTK to see if support will
> >> be added to the toolkit itself.
>
> >> Best,
> >> Matt
>
> >> On Mon, Aug 23, 2010 at 12:35 AM, Netroboost  wrote:
> >> > Hi,
>
> >> > Has this issue been resolved yet?
>
> >> > I am using Sun WTK 2.5.2 and facing the same issue. The error message
> >> > reads:
>
> >> > "Subject alternative name did not match site name"
>
> >> > Please help if anyone knows how to deal with this.
>
> >> > Thanks,
>
> >> > Amit.
>
> >> > On Jul 23, 10:18 pm, Matt Harris  wrote:
> >> >> Hi,
>
> >> >> I've seen similar reports for other service providers about this issue 
> >> >> as
> >> >> well. My concern is wildcard certificates are perfectly valid and are
> >> >> described in RFC2818 [1]. I'm not sure why Sun WTK doesn't support them 
> >> >> or
> >> >> of any workarounds but I would suggest asking on their support channels.
>
> >> >> If there are any changes on our systems we will be communicate them 
> >> >> through
> >> >> this developer mailing list.
>
> >> >> Best,
> >> >> Matt
>
> >> >> 1.http://www.ietf.org/rfc/rfc2818.txt
>
> >> >> On Fri, Jul 23, 2010 at 4:56 AM, bjcoredev  wrote:
> >> >> > How  will we be warned when  api.twitter.com fixed SSL certificate
> >> >> > will be effective ?
>
> >> >> > On 22 juil, 21:17, John Adams  wrote:
> >> >> > > Unfortunately, the current situation is that api.twitter.com is on a
> >> >> > > wildcard certificate.
>
> >> >> > > We have plans to move it a fixed SSL certificate in the near 
> >> >> > > future, but
> >> >> > no
> >> >> > > definite date yet.
>
> >> >> > > -j
>
> >> >> > > On Thu, Jul 22, 2010 at 11:50 AM, bjcoredev  
> >> >> > > wrote:
>
> >> >> > > > My app doesn't use the mobile site.
>
> >> >> > > > My twitter client is written in J2ME (Java Micro Edition) and is 
> >> >> > > > not
> >> >> > > > using the mobile site but the Twitter API.
>
> >> >> > > > I m coding  my client with WTK 2.5.2 Sun Wireless Toolkit (like 
> >> >> > > > many
> >> >> > > > other Java mobile developers) and since  the 21/07/2001 1AM GMT
> >> >> > > > my app  running under WTK can't access the url
> >> >> > > >https://api.twitter.com/oauth/access_token
> >> >> > > > because the WTK CAN'T HANDLE WILDCARD SSL certificates.
> >> >> > > > returning the error:"Subject alternative name did not match site
> >> >> > > > name".
>
> >> >> > > > I'have read that real (real devices opposite to the emulator) 
> >> >> > > > mobile
> >> >> > > > JAVA platforms (Sony ericsson,WM 5.0,..)  don't accept wildcard 
> >> >> > > > SSL
> >> >> > > > certificates so twitter clients using twitter API  written in J2ME
> >> >> > > > running under these platform can't access the url
> >> >> > > >https://api.twitter.com/oauth/access_token
> >> >> > > > anymore so can't process xAuth authentication wich will be 
> >> >> > > > mandatory
> >> >> > > > on 15 august
> >> >> > > > So .
>
> >> >> > > > On 22 juil, 20:20, John Adams  wrote:
> >> >> > > > > The mobile site has used a wildcard certificate for the last two
> >> >> > years;
> >> >> > > > Did
> >> >> > > > > you recently begin experiencing this issue or was your code 
> >> >> > > > > working
> >> >> > in
> >> >> > > > the
> >> >> > > > > past?
>
> >> >

Re: [twitter-dev] Twitter Authentication

2010-09-01 Thread Pradeep Senanayake
HI,

Thaks for the immediate  reply.

It doesnt work in nokia N95 also, but I will try it on wtk 3.

Thanks & Regards,
Pradeep.

On Wed, Sep 1, 2010 at 8:09 PM, Ernandes Jr.  wrote:

> Hi,
>
> This is a known issue of WTK 2.5.2, which has some issues to support the
> type of certificate used by Twitter. It has nothing to do with the API
> itself. I suggest you to try it on Java ME Plataform SDK 3 or on your
> device.
>
> Regards,
> Ernandes
>
>
> On Wed, Sep 1, 2010 at 2:20 AM, Pradeep Senanayake <
> pradeepd.senanay...@gmail.com> wrote:
>
>> Hi,
>>
>> Im using TwitterMe api for my mobile application, I registered my
>> application in twitter and got the consumer key and the secret key.
>> The problem Im having is after I post a twit it gives an exception
>> which tells
>>
>> "javax.microedition.pki.CertificateException: Subject alternative name
>> did not match site name"
>>
>> This is how I do the post.
>>
>> Credential credential = new Credential(user,
>> pwd,Constants.twitConsumerKey,Constants.twitConsumerSecretKey);
>> UserAccountManager userAccMgr =
>> UserAccountManager.getInstance(credential);
>>if (userAccMgr.verifyCredential()) {
>>Tweet tweet = new Tweet(message);
>>TweetER tweeter =
>> TweetER.getInstance(userAccMgr);
>>tweet = tweeter.post(tweet);
>>DialogFrame frame =  new DialogFrame();
>>frame.setTitle("Twitter");
>>frame.setBody("Successfully Twitted!");
>>frame.createUI(2);
>>}
>>
>>
>> pls some body help me. Thanks in advance.
>>
>> pradeep.
>>
>> --
>> 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
>>
>
>
>
> --
> Ernandes Jr.
> -
> "ALL programs are poems. However,
> NOT all programmers are poets."
>
>  --
> 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 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] Twitter Authentication

2010-08-31 Thread Pradeep Senanayake
Hi,

Im using TwitterMe api for my mobile application, I registered my
application in twitter and got the consumer key and the secret key.
The problem Im having is after I post a twit it gives an exception
which tells

"javax.microedition.pki.CertificateException: Subject alternative name
did not match site name"

This is how I do the post.

Credential credential = new Credential(user,
pwd,Constants.twitConsumerKey,Constants.twitConsumerSecretKey);
UserAccountManager userAccMgr =
UserAccountManager.getInstance(credential);
if (userAccMgr.verifyCredential()) {
Tweet tweet = new Tweet(message);
TweetER tweeter = 
TweetER.getInstance(userAccMgr);
tweet = tweeter.post(tweet);
DialogFrame frame =  new DialogFrame();
frame.setTitle("Twitter");
frame.setBody("Successfully Twitted!");
frame.createUI(2);
}


pls some body help me. Thanks in advance.

pradeep.

-- 
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