foursquare “image” URL returns Internal server error
-
27-06-2021 - |
Question
everything seems to work in my app, but the "blank" avater, 4sq returns https://irs0.4sqi.net/img/user/blank_boy.png but that link is broken... I am using the latest version of the API. has anyone found a fix for this?
photo = {
prefix = "https://irs0.4sqi.net/img/user/";
suffix = "/blank_boy.png";
};
(that's the response from the server)
thanks
La solution
As pointed by the comment from @Jonathan Levison you need to specify the "dimensions" between the prefix and suffix values. For example
https://irs0.4sqi.net/img/user/100x100/blank_boy.png
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow