With SDK 3 it is supposed to work. You will have to import Equifax
certificate.

Check this tutorial:

http://kenai.com/projects/twitterapime/forums/forum/topics/3078-How-To-Using-Twitter-API-ME-with-Java-ME-SDK-3-0

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

> 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. <ernan...@gmail.com> 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
>



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

Reply via email to