Comments (6)
Hi, is it possible to search for GEO coordinates yet?
from instagrapi.
location_search - by coordinates https://github.com/adw0rd/instagrapi/blob/master/instagrapi/location.py#L10
More examples here - https://github.com/adw0rd/instagrapi/blob/master/tests.py#L798
from instagrapi.
@adw0rd
I ran into an issue when I was adding locations to (photo_upload) it's picking always a different location and it's because the function (location_info) doesn't return Location.external_id and this force the function (location_build) to do a location_search base on the lat and lng so this causing the locations to be wrong most of the time or not perfect here is and example of location_search_pk and location_info
`from instagrapi import Client
import sys
import json
cl = Client()
loc=cl.location_info(319703195161335)
print(loc)
loc1=cl.location_search_pk(319703195161335)
print(loc1)`
I also added the function location_search_name(name) example
`from instagrapi import Client
import sys
import json
cl = Client()
locs=cl.location_search_name("caracas")
print(locs)
`
return
Here is the fork with the changes
jhd3197@df025a1
Best hope this can help
from instagrapi.
@jhd3197 You ran tests?
from instagrapi.
@adw0rd
I did and I got this:
but I don't know how to debug this or how to check if those errors are coming from this change I also try testing this repository without making any change and I always get a login issue when I'm trying to test with docker even when I know the password it's correct
from instagrapi.
Added FbSearchMixin.fbsearch_places:
>>> cl.fbsearch_places('New York')[0].dict()
{'pk': 486560663,
'name': 'New York City, N.Y.',
'phone': '',
'website': '',
'category': '',
'hours': {},
'address': None,
'city': None,
'zip': None,
'lng': -74.005891084671,
'lat': 40.712701423445,
'external_id': 267185200114218,
'external_id_source': 'facebook_places'}
from instagrapi.
Related Issues (20)
- I keep getting Unrecognized device alert emails HOT 3
- [BUG] Cannot search for music HOT 3
- [BUG] DM doesn't seem to work HOT 1
- [BUG]
- can add users to an exist thread_id?
- cookie or other
- when i use media_oembed ([BUG]
- Error in input requirements for photo_upload_to_story [BUG]
- Does the library get 100% likes? HOT 1
- Request a feature of remixing a reel ( clip ) HOT 2
- [BUG] Story Upload Issue with Mentions, Links, Hashtags, and Locations Not Appearing in Data
- [BUG] Doesn't extract emails from businesses
- How does HikerAPI.com get 1000 likes and not 100? HOT 1
- Does it support cross-platform?
- [BUG]Has the download expired HOT 2
- media_info need array to fetch many media resources HOT 1
- [BUG] Error 400 when logging in HOT 37
- [BUG]
- how add users to a group chat
- [BUG] Getting Client Error when running from EC2 Instance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagrapi.