Hello,
I am migrating a Facebook application to Myspace.
The app is an IFRAME app, and I am using myspace-php-sdk API to exchange data with Myspace. This works quite well for now, except for the following on which I am struggling:
- I want to have a page which displays a list of Myspace friends (images, names) who have not yet added the application
- Allow the user to select them
- Send the friends an invitation (requestShareApp, I guess, for which I have found the JS code)
I am struggling at step 1: I get the friends IDs correctly, using the getFriends() call from myspace-php-sdk.
But when I try to get their $hProfile->basicprofile->image or $hProfile->basicprofile->name, using getProfile() call from myspace-php-sdk, it is not available to my app. I believe this is because they have not yet added the app. I catch an exception with the following statusDescription:
"User has not installed the
current application or application does not have access to requested
resource"
Am I missing something ? Shouldn't a user be able to retrieve his friends, whether or not the app has access to their info ? Am I trying to implement this the wrong way ? Is it impossible to get images/names of friends who have not yet added the app ? How have you implemented this kind of invite feature ?
Any clue or code appreciated.
Best regards