How's it going Developers. For the life of me, no matter what documentation I use or examples I use I can't initialize a yahoo session. I'm using the PHP SDK and no matter what I put, it just refuses to work. What am I missing!
What I have as of barebones ...
require("lib/Yahoo.inc");
// Your Consumer Key (API Key) goes here.
define('CONSUMER_KEY', "<my consumer key>");
// Your Consumer Secret goes here.
define('CONSUMER_SECRET', "<my app secret>");
// Your application ID goes here.
define('APPID', "<appid>");
$session = YahooSession::requireSession(CONSUMER_KEY,CONSUMER_SECRET,APPID);
if(!$session){
echo 'No Session';
}
Same to me ... if you found the solution just post here , i need help as well .. : (<br><br> QUOTE (BRBissoon @ 19 Jan 2011 1:26 PM) How's it going Developers. For the life of me, no matter what documentation I use or examples I use I can't initialize a yahoo session. I'm using the PHP SDK and no matter what I put, it just refuses to work. What am I missing!<br><br>What I have as of barebones ...<br><br>require("lib/Yahoo.inc"); <br><br>// Your Consumer Key (API Key) goes here. <br>define('CONSUMER_KEY', " "); <br><br>// Your Consumer Secret goes here. <br>define('CONSUMER_SECRET', " "); <br><br>// Your application ID goes here. <br>define('APPID', " "); <br><br>$session = YahooSession::requireSession(CONSUMER_KEY,CONSUMER_SECRET,APPID); <br><br>if(!$session){<br>echo 'No Session';<br>}
Funny enough, after a few rounds of refreshes - the exact same code worked. Just make sure your syntax is well formed and use Google Chrome to view full headers to get in depth error messages.