Search the web
Sign In
New User? Sign Up
yws-flickr · YDN Flickr Developer Support Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Reasons for "Invalid auth token" on upload   Message List  
Reply | Forward Message #4396 of 5445 |
Re: [yws-flickr] Re: Reasons for "Invalid auth token" on upload

On Sat, Oct 04, 2008 at 09:06:48AM -0700, Jamie Poitra wrote:
> Brilliant question. It's because I can't turn it off in this
> situation (because of the way the PHP setting for this works) and
> actually don't want to except for isolated cases such as this.

Fair enough. I never could get the hang of that setting, though - it
always seemed like a kludge to me.

> I even distinctly remember seeing that at one point and saying, "I
> need to remember to take that out!"

Hehe, yeah I know that one - you really have to do that immediately,
or you're screwed :)

> So I removed that now and ran again. OK, so the auth_token is
> getting approved now.

Nice!

> Then the full string looks like this:
>
> &api_key
> =
> <
> API_KEY
> >&auth_token=<AUTH_TOKEN>&api_sig=<API_SIG>&photo=<PHOTO_BINARY_DATA>

That first ampersand shouldn't be in there.

What does the resulting HTTP request look like? You can either use a
sniffer like Wireshark or just use a program like NetCat to listen on
some port and connect to that.

Sybren


Sat Oct 4, 2008 11:30 pm

sybrenstuvel
Offline Offline
Send Email Send Email

Attachment
signature.asc
Type:
application/pgp-signature
Forward
Message #4396 of 5445 |
Expand Messages Author Sort by Date

I have a PHP upload API Call setup using curl. When the call goes through I get back error 98: Invalid auth token. However, the same token works fine for...
Jamie Poitra
methnen
Online Now Send Email
Oct 2, 2008
10:59 pm

Anyone? Spent another few hours on this today with no luck. :( Just to note that I have tried the php libraries for this stuff but neither of them played well...
methnen
Online Now Send Email
Oct 3, 2008
11:36 pm

... I'll see if my PHP is still not completely rusted beyong recognition ;-) ... Why enable the automatic slashing if you're going to strip them? And: are you...
Sybren A. Stüvel
sybrenstuvel
Offline Send Email
Oct 4, 2008
11:40 am

... Brilliant question. It's because I can't turn it off in this situation (because of the way the PHP setting for this works) and actually don't want to...
Jamie Poitra
methnen
Online Now Send Email
Oct 4, 2008
4:07 pm

... Fair enough. I never could get the hang of that setting, though - it always seemed like a kludge to me. ... Hehe, yeah I know that one - you really have to...
Sybren A. Stüvel
sybrenstuvel
Offline Send Email
Oct 4, 2008
11:31 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help