how to get profile pic for foursquare user based on the object -


there contradiction in api documentation:

on 1 location: https://developer.foursquare.com/docs/responses/user

photo should contain "url of profile picture user.

on location, trying out: https://developer.foursquare.com/docs/explore#req=users/self

photo object, 2 parts

https://irs3.4sqi.net/img/user/hbvx4t2wqogg20fe.png returning internal error.

how can profile pic of user?

a couple of days ago endpoint returned string profile pic, has changed, can't find documentation on that.

edit:

also tried adding consumer_key between prefix , suffix like:

https://irs3.4sqi.net/img/user/consumer_key/hbvx4t2wqogg20fe.png

also gave internal error.

this part of change foursquare did api on june 9th. note ak foursquare announced making lot of changes, not documented in coming time, see post here: https://groups.google.com/forum/#!topic/foursquare-api/mpnpdo5zaru

to fix, lower 'v' before 20120609, using 20120608 work. returns following url: https://is0.4sqi.net/userpix_thumbs/hbvx4t2wqogg20fe.png user :)

another way fix use [prefix]/original/[suffix] , can use newer version (>20120609)


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -