0

Nothing is working...

this PHP Code should works.
But it doesn't.
I also tried the samples examples with no success.

CODE
<?
session_start();
define('CONSUMER_KEY', "my consumer key");
define('CONSUMER_SECRET', "myconsumer secret");
define('APPID', "my appid");
require("Yahoo.inc");
ini_set('display_errors', true);
$hasSession = YahooSession::hasSession(CONSUMER_KEY, CONSUMER_SECRET, APPID);
echo 'step1<br>hassession='.$hasSession.'<br>';
$callback = YahooUtil::current_url();
$auth_url = YahooSession::createAuthorizationUrl(CONSUMER_KEY, CONSUMER_SECRET, $callback);
echo 'step2<br>'auth_url='.$auth_url.'<br>';
$session = YahooSession::requireSession(CONSUMER_KEY, CONSUMER_SECRET, APPID);
echo 'step3<br>'session='.$session;


return me :

CODE
step1
hassession=
step2
auth_url=
step3
session=

by
3 Replies
  • I just solve this problem installing openssl on my server.
    and ca-certficates
    It didn't work due to a problem with CURL+SSL, now it is fine
    0
  • QUOTE (lucas @ Aug 13 2009, 11:32 PM) <{POST_SNAPBACK}>
    I just solve this problem installing openssl on my server.
    and ca-certficates
    It didn't work due to a problem with CURL+SSL, now it is fine

    I am getting the same problem.
    Not solved after installing open SSL.and that certificates.
    Please help me in this issue
    .
    Thanks,
    Dhandapani.R
    0
  • QUOTE (Prakash @ Feb 3 2010, 02:38 AM) <{POST_SNAPBACK}>
    I am getting the same problem.
    Not solved after installing open SSL.and that certificates.
    Please help me in this issue
    .
    Thanks,
    Dhandapani.R


    Hi Dhandapani,

    Can you please provide some more information? If possible the log as well as the entire http request and response?
    0
This forum is locked.

Recent Posts

in Y!OS SDKs