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'); Link to comment https://forums.phpfreaks.com/topic/266550-cant-get-flickr-oauth-to-work/ 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? Link to comment https://forums.phpfreaks.com/topic/266550-cant-get-flickr-oauth-to-work/#findComment-1365999 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. Link to comment https://forums.phpfreaks.com/topic/266550-cant-get-flickr-oauth-to-work/#findComment-1366151 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 Link to comment https://forums.phpfreaks.com/topic/266550-cant-get-flickr-oauth-to-work/#findComment-1366287 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.