Hello,
I have made a MyspaceID application.
Tried the SDK sample ( in the /samples/myspaceid-oauth/ URL )
Everything is fine. I get my profile info, my profile picture is displayed, as the informations to.
Then, I want to post a picture.
In the myspace.php file given with the MyspaceID SDK, I found a createAlbum method.
But it does not work if I call it :
$ms->createAlbum($userid, "title", "France", 'Everyone'));
The error is :
Notice: Undefined variable: paramStr in /var/www/branches/trunk/space/source/OAuth/OAuth.php on line 764
Notice: Undefined variable: paramStr in /var/www/branches/trunk/space/source/OAuth/OAuth.php on line 764
Fatal error: Uncaught exception 'MySpaceException' with message 'Requested --> http://api.myspace.com/v1/users/452095681/albumsjson
Response:<br/><br/>
<br/><br/>
::myspace response::@2009-12-09T14:24:59+00:00
_____________________________________________
:: contentType ::
text/xml
:: status ::
404
:: headers ::
HTTP/1.1 404 NotFound
Cache-Control: private
Content-Length: 562
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Set-Cookie: MSCulture=IP=195.115.75.219&IPCulture=fr-FR&PreferredCulture=fr-FR&PreferredCulturePending=&Country=RlI=&ForcedExpiration=633959367517249347&timeZone=0&myStuffDma=&myStuffMarket=&USRLOC=QXJlYUNvZGU9MCZDaXR5PU1vbnRwZWxsaWVyJkNvdW50cnlDb2RlPUZSJkNvdW50cnlOYW1lPUZyYW5jZSZEbWFDb2RlPTAmTGF0aXR1ZGU9NDMuNiZMb25naXR1ZGU9My44ODMyOTk5OTk5OTk5OSZQb3N0YWxDb2RlPSZSZWdpb25OYW1lPUE5; domain=.myspace.com; expires=Fri, 08-Jan-2010 14:25:51 GMT; path=/
X-Server: 769930988916cbc32de1a53d98327dde11ad885daabc1b75
And I did not find any method to post a picture in the myspace.php file :-(
I would like to know the way to simply post a picture on the profile.
Best regards