0

Photo_URL in eventSearch vs eventInfo

the photo_url given in the eventSearch method appears to be wrong, or unauthenticated. I'm able to get the correct one via eventInfo -- but that seems like a useless extra call to me. What's the story?

by
3 Replies
  • Hi Meta,

    I can't seem to reproduce the problem. Can you let me know which event IDs you're seeing the bad photo URL for?

    Thanks,
    Greg
    0
  • QUOTE (Greg @ Apr 25 2010, 09:10 AM) <{POST_SNAPBACK}>
    Hi Meta,

    I can't seem to reproduce the problem. Can you let me know which event IDs you're seeing the bad photo URL for?


    It seems to be any photo_url from event.search when fetched with CURL.

    If you're looking at it in a browser -- especially when logged into your Yahoo account -- you won't see the problem. Yesterday I had the same problem even when logged out of my Yahoo account in a web browser. Today it works while logged out in a web browser but not with curl.

    Take for example event ID : 4111653

    in event.search the photo_url yields:

    http://a323.yahoofs.com/upcoming/2886/sm_c...pAMO0LBfXVSpP7R

    that's returns an HTML "not found" response.

    meanwhile event.getinfo returns for photo_url:

    http://a323.yahoofs.com/upcoming/2886/sm_c...pAki1LBbU2vpP7R

    I don't know if curl parameters make a difference; I'm using "curl -sS -L -m 15" for both URLS.
    0
  • I'm afraid I'm still unable to reproduce the original problem -- as far as I can tell, photo URLs return the same status regardless of signed in/out status. Also, as of right now, both event.search and event.getInfo return the same valid photo_url for me, which is accessible in my browser as well as with `curl -sS -L -m 15`:

    http://upcoming.yahoo.com/services/rest/?m..._key=xxxxxxxxxx
    http://upcoming.yahoo.com/services/rest/?m..._key=xxxxxxxxxx

    I'm not sure if this is applicable to your application, but just in case, I will note something about the photo URLs that is not in our documentation yet -- they are temporary. For example, the second URL in your post that was previously working (http://a323.yahoofs.com/upcoming/2886/sm_c5c71722da8916.jpg?upAki1LBbU2vpP7R) is no longer valid. For this reason, if you are caching photo URLs locally in your system, you may want to periodically refresh them or fetch them from our API dynamically.
    0
This forum is locked.

Recent Posts

in Upcoming API - General Questions