I have a PHP game I made on my external server. I wasn to connect to it threw an External IFrame. I have searched the forum and found a few topic but the code always fails. Right now I just want to get myspace to pass the friend ID to my app and I want to verify the friend ID is comming from myspace. Alot of the samples I have tried request Myspaceapi.php which I am unable to locate. Then with the examples that use OAuth.php and Space.php I get the following error.
Fatal error: Uncaught exception 'Exception' with message '401 ' in /home/content/m/i/c/micdizo/html/boss/Space.php:177
Stack trace:
#0 /home/content/m/i/c/micdizo/html/boss/Space.php(135): Space->_do_request('users/4416169/p...', Array)
#1 /home/content/m/i/c/micdizo/html/boss/Space.php(52): Space->do_request('users/4416169/p...')
#2 /home/content/m/i/c/micdizo/html/boss/index.php(9): Space->profile('4416169')
#3 {main}
thrown in /home/content/m/i/c/micdizo/html/boss/Space.php on line 177
Please help me.
Thanks in advance,
Mike