Foursquare API for venue user image error

后端 未结 4 991
执笔经年
执笔经年 2020-12-01 08:07

The Foursquare API has divided its photo tag for user as prefix and suffix. But if I merge them to form a full image URL and paste this in my browser, gives me errors that s

4条回答
  •  庸人自扰
    2020-12-01 08:45

    This is a change foursquare did on June 9th, see AK announcement on the google group here: https://groups.google.com/forum/#!topic/foursquare-api/MpNpdO5zARU

    To fix it, in your request change the 'v' to a value below 20120609, 20120608 will work and return a url (json string) with the thumbnail of the user picture.

    There is no documentation on how to use the prefix/suffix thing yet.. they will probably post about it when there will be.

    Found out you can also access it via [prefix]/original/[suffix], and then use the newer version (>20120609)

提交回复
热议问题