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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
Flickr API call for page 2 gives invalid signature   Message List  
Reply | Forward Message #4295 of 5445 |
Re: Flickr API call for page 2 gives invalid signature

--- In yws-flickr@yahoogroups.com, "tredychris" <tredychris@...>
wrote:
>
> Hi there
>
> Hope someone can help. I use the method
flickr.people.getpublicphotos
> to get all my photos. Since there are >900, I execute the API call
> twice, the first for page 1 and the second for page 2 (500 per
page)
> [its in a loop and I just change the page value and regenerate the
> signature].
>
> The first API call for page 1 works fine, the second page always
gets
> an error code 96: invalid signature. Looking at the two calls then
> the only parameters with the different values are the page and
api_sig
>
> I use a similar method to get all my groups and retrieving page 2
and
> this works fine (> 400 groups).
>
> I also notice a similar sig error when using the method
> flickr.photos.search
>
> call is ...
> http://api.flickr.com/services/rest/?
> method=flickr.photos.search&api_key=[api_key]&auth_token=
[auth_token]
>
&extras=date_upload&page=2&per_page=500&user_id=17534129@N00&api_sig=
> [api_sig]
>
> thanks for your help
>
> Chris
>

Forget it - i figured out the problem. When using my "secret" value
to generate the first call - all was OK. but since i was reading
secret values associated with my photo's, the subsequent API call
used the last "secret" photo value which wasnt my account secret, and
since this is not used in the URL I couldnt see it ... duh.

regards
chris







Wed Aug 20, 2008 10:36 pm

tredychris
Offline Offline
Send Email Send Email

Forward
Message #4295 of 5445 |
Expand Messages Author Sort by Date

Hi there Hope someone can help. I use the method flickr.people.getpublicphotos to get all my photos. Since there are >900, I execute the API call twice, the...
tredychris
Offline Send Email
Aug 20, 2008
2:51 pm

... flickr.people.getpublicphotos ... page) ... gets ... api_sig ... and ... [auth_token] ... ...
tredychris
Offline Send Email
Aug 20, 2008
10:36 pm
Advanced

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