MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

php rest library

Last post 06-07-2009 8:21 AM by rondata. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 03-04-2009 11:45 PM

    php rest library

     hi

     i got these error message when using php restlibrary (myspace-da-php-download)

    i try to run the  /examples/TestAllGets.php

     Fatal error: Uncaught exception 'Exception' with message '401 oauth_problem=permission_unknown' in /www/mspi/lib/base/BaseAPI.php:67 Stack trace: #0 /www/mspi/lib/base/OAuthBaseAPI.php(41): BaseAPI->_do_get('http://stage-ap...', NULL) #1 /www/mspi/lib/api/OAuthTokenAPI.php(44): OAuthBaseAPI->do_get_raw('/access_token', NULL) #2 /www/mspi/examples/TestAllGets.php(89): OAuthTokenAPI->get_access_token() #3 {main} thrown in /www/mspi/lib/base/BaseAPI.php on line 67

    i set auth consumerkey and consumer secret in config.php file and set my user id in  TestAllGets.php

    is there any other things i have to done for removing this error .

     

  • 03-05-2009 6:18 PM In reply to

    Re: php rest library

     @kakka:

    Use the new PHP Rest library at here: http://developer.myspace.com/Community/forums/t/6546.aspx

    I'm using  Daniiiiiel™ ಠ_ಠ copy library which is good for me. You can download at:  http://stuff.d15.biz/myspacedev/myspacel_php5_20080317_bundled.zip

    I'm sure it works well.

  • 03-05-2009 7:46 PM In reply to

    Re: php rest library

     thanks for ur valuable information.

             it works fine .but i want php rest library wich support activity.

                is it support activity?. is there  any other php library which support activty?

  • 03-08-2009 6:49 PM In reply to

    Re: php rest library

     Why don't you take a look at: http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=124833

    But it's not php library which supports activity. I think you can use ajax and that script. I also do that. There's no problem.

    Good luck.

  • 03-09-2009 2:44 AM In reply to

    Re: php rest library

    hi  minekazz

     Thanks alotfor reply

               i am very new to the concept of ifpc. what actually means it .

    thanks

  • 03-09-2009 8:04 PM In reply to

    Re: php rest library

    I'm sorry kakka. The activity is not stable now. It's not working. Forget it for a moment :)

    I really dont know what is ifpc but just follow the instruction in readme.txt file and do the same.

    Open file: IFPCExampleLanding.html. You can see function: goToExample(). Don't forget to use this function when fly between pages.

  • 06-02-2009 4:02 AM In reply to

    • Hugbie
    • Not Ranked
    • Joined on 05-01-2009
    • Posts 1

    Re: php rest library

     Hi, i try to use this lib, but i always get an error:

    Warning: curl_setopt(): supplied argument is not a valid cURL handle 

    do you know what this mean?

    thank you in advance...

  • 06-07-2009 8:21 AM In reply to

    Re: php rest library

    http://wiki.developer.myspace.com/index.php?title=Category:MySpaceID_SDK_for_PHP

     

    Are you using the SDKs? I know they say MySpaceID but you can use the library for both onsite apps and myspaceID

    Let me know if this helps.

    Rhonda

Page 1 of 1 (8 items)