Hi Guys,
Can anybody give me update on this post.. I'm using following code to check..
<?php
include_once("myspace/MySpaceAPI.php");
include_once("Config.php"); // <-- SET YOUR KEY/SECRET HERE
// Set the key - application uri - secret key
$myspace = new MySpaceAPI(Config::$APP_OAUTH_CONSUMER_KEY, Config::$APP_OAUTH_CONSUMER_SECRET);
// Get XML, JSON
//$myspace->set_output_array(false); //set to false to get the XML or JSON format instead of native php arrays
//$myspace->set_response_type(ResponseType::$JSON); //change the type to XML, JSON
$user_id = $_REQUEST["viewerId"]; //264730435; // <-- CHANGE to yours (you can get this from the iframe querystring for owner id and viewer id)
if($user_id == "")
{
header("location:add_app.php");
exit();
}
?>
But this is not working for me. Please reply to me ASAP.
Regards
Sandy