Closed michaelgiaimo closed 11 years ago
@velcrobots you're right, you can set the distance
parameter adding a distance attribute to the search
object.
If you want to update documentation I'd be glad to merge such pull request.
Awesome, will do. Does this mean we can also pass the 'FOURSQUARE_V2_ID' or 'FOURSQUARE_ID'?
Well, no (see https://github.com/potomak/jquery-instagram/blob/master/jquery.instagram.js#L81-88), but you can add those search parameters and make a pull request.
Do you mind adding this to the documentation? BY this, I mean setting the distance parameter by adding a distance attribute to the search object. Thanks!
I'd love to - I've actually never contributed to a project on GitHub though. Do I just clone it, edit the ReadMe, then commit?
On Tue, Jul 23, 2013 at 9:59 AM, JBIRD1111 notifications@github.com wrote:
Do you mind adding this to the documentation? BY this, I mean setting the distance parameter by adding a distance attribute to the search object. Thanks!
— Reply to this email directly or view it on GitHubhttps://github.com/potomak/jquery-instagram/issues/40#issuecomment-21415629 .
It's even easier:
According to the API specs:
Default is 1000m (distance=1000), max distance is 5000.
Do we have control over it in this script? Would love to reduce it for greater accuracy. I see in line 87: