0

http://where.yahooapis.com/geocode?appid=...&flags=P not returning serialized PHP but XML

We have been using the above for over a year, Now it is returning XML instead of serialized PHP. Anybody know why?"

by
3 Replies
  • We had a half dozen applications stop working today for the same reason. Don't know why, but a quick shift over to json_decode did the trick. Note that pulling the result out of the decoded array changed slightly.

    (1) Change the flag sent from P to J

    (2) $result_array = json_decode($reply_from_yahoo,TRUE);

    (3) address_array = $result_array['ResultSet']['Result'];# formerly ['ResultSet']['Result'][0]

    This free service seems to be disappearing on Nov 12. See: http://developer.yahoo.com/geo/placefinder/
    QUOTE(Stephen @ 2 Oct 2012 5:34 AM)
    We have been using the above for over a year, Now it is returning XML instead of serialized PHP. Anybody know why?"
    0
  • The problem was fixed sometime between 6PM EDT and 9:45PM EDT saving me from revising my code. Thank you Stephen for posting that solution. I wish Yahoo was as helpful as you.

    Regarding the change to BOSS and a paid for model starting on Nov 12, 2012 how about Yahoo sending an Email to people using the interface!  The conversion from Geocoder to Placefinder took me and many others by surprise, and I'm not in the mood for a repeat performance.

    0
  • The change was not intentional, and we have reverted it back. The current Placefinder service is shutting down on November 17th but we will continue to support our YQL table for non-commercial applications that are limited to 2000 queries per day per developer. We recommend you transition your code to the YQL table if you are in this category.
    0
This forum is locked.

Recent Posts

in PlaceFinder Product Announcements