Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added quick, dirty method to do a location search by fb_places_id #109

Closed
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/instagram/client/locations.rb
View
6 lib/instagram/client/locations.rb
@@ -69,6 +69,12 @@ def location_search(*args)
end
response
end
+
+ # Quick and dirty method to allow searching by facebook places ID
+ def location_fb_search(facebook_places_id)
+ response = get('locations/search', options.merge(:facebook_places_id => facebook_places_id))
+ return response
+ end
end
end
end
Something went wrong with that request. Please try again.