xymalf Posted July 13, 2012 Share Posted July 13, 2012 <?php http://www.flickr.com/services/oauth/request_token ?oauth_nonce=89601180 &oauth_timestamp=1305583298 $oauth['flickr']['consumerkey']="1a2755a9a5a19904c7f5e661d85db657"; $oauth['flickr']['consumersecret']="4a325791b4936fe0"; $oauth['flickr']['requesttokenurl']="http://www.flickr.com/services/oauth/request_token"; $oauth['flickr']['accesstokenurl']="http://www.flickr.com/services/oauth/access_token"; $oauth['flickr']['authurl']="http://www.flickr.com/services/oauth/authorize"; &oauth_signature_method=HMAC-SHA1 &oauth_version=1.0 &oauth_callback=http:%3A%2F%2Fwww.xymalf.co.uk/flic/index.php ?> what is wrong in the above code Quote Link to comment Share on other sites More sharing options...
scootstah Posted July 13, 2012 Share Posted July 13, 2012 You have a URL in plaintext at the top, and you have several variables that start with either ? or &. EDIT: And you're missing a bunch of semi colons. Quote Link to comment Share on other sites More sharing options...
xymalf Posted July 13, 2012 Author Share Posted July 13, 2012 the code is taken straight from flickrs API page - I want to call the flickr url with a concaternating string with this information. What do i modify - please. Quote Link to comment Share on other sites More sharing options...
Jessica Posted July 13, 2012 Share Posted July 13, 2012 Yeah that's a URL, not a config file. You can't just put a URL as plain text in a file and call it a config... Quote Link to comment Share on other sites More sharing options...
xymalf Posted July 14, 2012 Author Share Posted July 14, 2012 what is ?oath nonce? The fliucr oath flow says sand a string GET&http%3A etc I am trying to fathom phpflickr out there seems to be no documentation i thought you should be able to run the auth.php file but this does not seem to work. anyway i have sent off for a book on how to program flickr just waiting for it to come from USA. 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.