Hi, I'm new in twitter development.

I have a problem when I'm using twitter connect (Sign in with twitter)
with OAuth.
I can Sign In successfully, but I can't fetch the data of the user.
I've tried it in ordinary php script, and it was success.
It's appear like this :

-------------------------------------------------------------------------------------------------------------------
stdClass Object
(
    [contributors_enabled] =>
    [friends_count] => 29
    [description] =>
    [location] => ÜT: -7.759407,110.388536
    [geo_enabled] =>
    [profile_background_color] => 9ae4e8
    [profile_image_url] => 
http://a3.twimg.com/profile_images/774134793/IMG_4749_-_Copy_normal.JPG
    [status] => stdClass Object
        (
            [favorited] =>
            [in_reply_to_user_id] =>
            [source] => UberTwitter
            [created_at] => Mon Jun 28 08:08:57 +0000 2010
            [coordinates] =>
            [contributors] =>
            [in_reply_to_screen_name] =>
            [truncated] =>
            [in_reply_to_status_id] =>
            [place] =>
            [geo] =>
            [id] => 17236419253
            [text] => Mau ntn apa Chiil? RT @chiilmill: Mampus XXI
penuh bener :((
        )

    [favourites_count] => 0
    [verified] =>
    [profile_text_color] => 000000
    [screen_name] => endryningtyas
    [lang] => en
    [time_zone] =>
    [created_at] => Thu Mar 18 02:50:42 +0000 2010
    [profile_link_color] => 0000ff
    [profile_background_image_url] => 
http://s.twimg.com/a/1277771427/images/themes/theme1/bg.png
    [following] =>
    [profile_sidebar_fill_color] => e0ff92
    [protected] =>
    [profile_background_tile] =>
    [name] => itnayaz
    [statuses_count] => 147
    [profile_sidebar_border_color] => 87bc44
    [url] => http://itnayaz.com
    [id] => 124050687
    [notifications] =>
    [profile_use_background_image] => 1
    [utc_offset] =>
    [followers_count] => 18
)
-----------------------------------------------------------------------------------------------------------------------------
but now I'm using it at php framework, cakePHP...and the result is
-----------------------------------------------------------------------------------------------------------------------------
stdClass Object (
 [request] => /1/account/verify_credentials.json?
oauth_consumer_key=UnSVVvFuXqOX5AbUlyDAsQ&oauth_nonce=65a61e5b9cc47fa86c0f4ba1bc6783c2&oauth_signature=mAb
%2FkorJIukQf8pzCjP5ygBBGEM%3D&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1278575649&oauth_version=1.0 [error] => Could not
authenticate you. )
-----------------------------------------------------------------------------------------------------------------------------

what's wrong with my code?

Please, help me ^_^..

thanks before....

Reply via email to