• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug APIs, Hacks & Tricks API Key Invalid Message

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jul-21-2012, 07:59 AM
#1
klausson is offline klausson OP
Beginner grinner
API Key Invalid Message
When using oauth authentication, I'm getting a message saying my api key is invalid:

====================================
SmugMug doesn't recognize this application's credentials.
We're really sorry, but for some reason we're unable to authorize an application that wants to access your account.
====================================


I didn't think API keys expired and the one I'm passing has not changed (yes, it worked before). Any ideas what else could have gone wrong?

I'm using phpSmug to connect to Smugmug and the api key and secret are passed to the constructor for the phpSmug object.

Thanks in advance

Klaus
Old Jul-21-2012, 09:26 AM
#2
klausson is offline klausson OP
Beginner grinner
never mind - I figured out what was wrong: I had followed the examples for phpSmug, but then I simply added my own code at the end, not realizing that it would be executed every time I was getting a request token - therefore the request token was already burned when I got to the point where I should have gotten an access token.

I will say that the error message is a bit misleading though - had me spinning my wheels for a while :-/
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
invalid API key yoxigen SmugMug APIs, Hacks & Tricks 3 May-27-2010 10:25 AM
API Update Archive devbobo SmugMug APIs, Hacks & Tricks 0 Oct-09-2007 04:16 PM
albums.get - invalid API key peterparker SmugMug APIs, Hacks & Tricks 2 Aug-18-2007 07:42 AM
Invalid API key dwagner SmugMug APIs, Hacks & Tricks 5 Apr-13-2007 07:05 AM
BETA - Breaking Bug: Corrupt response for smugmug.albums.getStats against 1.1.1 luke_church SmugMug APIs, Hacks & Tricks 0 Sep-13-2005 07:01 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump