I have this code
define("CONSUMER_SECRET","asdlhgasdhg135");
define("ACCESS_TOKEN","ReqnFVaBasdfgs5t321Rebd");
define("ACCESS_TOKEN_SECRET","kEshxx3pox13t6aqefrhqaPaprGfA6F2c6xYSU");
define("CONSUMER_KEY","s6tNuF91236ta4B7NU");
require('plurkAPI.php');
$plurk = new PlurkAPI(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
$json = $plurk->callAPI('/APP/Profile/getPublicProfile', array('user_id' => 'clsung'), true);
$json = $plurk->callAPI('/APP/Profile/getOwnProfile');
$json = $plurk->callAPI('/APP/FriendsFans/getFriendsByOffset', array ('user_id' => 'clsung'));
When I run this one, I get this error:
Fatal error: Out of memory (allocated 61865984) (tried to allocate 19456 bytes) in /home/sxtest/public_html/test123/plurk/plurkOAuth.php on line 106
Why is this happening. Any help for this! Thanks! :)
I have this code
define("CONSUMER_SECRET","asdlhgasdhg135");
define("ACCESS_TOKEN","ReqnFVaBasdfgs5t321Rebd");
define("ACCESS_TOKEN_SECRET","kEshxx3pox13t6aqefrhqaPaprGfA6F2c6xYSU");
define("CONSUMER_KEY","s6tNuF91236ta4B7NU");
require('plurkAPI.php');
$plurk = new PlurkAPI(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
$json = $plurk->callAPI('/APP/Profile/getPublicProfile', array('user_id' => 'clsung'), true);
$json = $plurk->callAPI('/APP/Profile/getOwnProfile');
$json = $plurk->callAPI('/APP/FriendsFans/getFriendsByOffset', array ('user_id' => 'clsung'));
When I run this one, I get this error:
Fatal error: Out of memory (allocated 61865984) (tried to allocate 19456 bytes) in /home/sxtest/public_html/test123/plurk/plurkOAuth.php on line 106
Why is this happening. Any help for this! Thanks! :)