xymalf Posted August 1, 2012 Share Posted August 1, 2012 $f = newphpFlickr(56aa3435b13d0e377f4d93,$3******); $f ->getRequestToken($callback); this should get a token and i have set the callback url to the folowing page below. <?php $f = newphpFlickr ($56aa3435b13d0e377f, $3a6b257 )); $f-> getAccessToken(); $OauthToken = $f-> getOauthToken(); $OauthSecretToken = $f-> getOauthSecretToken(); include ('finduser.php'); Quote Link to comment Share on other sites More sharing options...
Mahngiel Posted August 1, 2012 Share Posted August 1, 2012 how many times are you going to post this? Quote Link to comment Share on other sites More sharing options...
xymalf Posted August 1, 2012 Author Share Posted August 1, 2012 I have uploaded all the phpFlickr files into a directory called phpflickr on my server. here is my code to request a token. <?php $api_key = '56aa3435b13d0e377f*********'; $secret = '3a6b257*****'; $callback = "http://www.xymalf.co.uk/phpflickr/getOauthToken.php"; $f = new phpFlickr($api_key,$secret); $f ->getRequestToken($callback); ?> getOauthToken has been set up on Flickr as the call back page but when I run above i just get a blank page. my getOauthToken page is... <?php $api_key = '56aa3435b13d0e3'; $secret = '3a6b'; $f = new phpFlickr ($api_key, $secret )); $f-> getAccessToken(); $OauthToken = $f-> getOauthToken(); $OauthSecretToken = $f-> getOauthSecretToken(); finduser(); phpFlickr.php is in the same directory as all my files. Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 2, 2012 Share Posted August 2, 2012 how many times are you going to post this? Apparently a few more? :-P Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.