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)
- [feature request] broad cast channels HOT 1
- [BUG] DM direct_media_send/direct_send not working HOT 1
- [BUG] trying to follow user HOT 1
- Exception "Login Required" When Setting Account Status to Private After Automated Interactions
- [BUG] photo_upload and photo_upload_to_story fails when logged in via sessionid HOT 5
- ADD POSSIBILITY TO ADD MUSIC ON NOTE
- How to load all followers' names from an account that has almost 1k
- Reacting to a direct message
- Is there a way to list the posts I liked? HOT 2
- [BUG]Even though I use the logout() function, the user is not logged out.
- AttributeError: 'Client' object has no attribute 'signup' HOT 8
- [BUG] Instragrapi not handling Reels.
- Signup function gets interrupted by Instagram HOT 13
- [BUG] DEDICATED RESIDENTIAL proxy doesn't work as mentioned
- [BUG] user_info_v1 gives status 404: Endpoint /v1/users/XXXXXXXX/info/ does not exist
- [BUG]login unsuccessful
- [BUG] user_medias function returns no results
- [BUG]Instagram Full Name not changing
- [BUG] comment_count, like_count, and play_count is invalid
- Upload reels without them appearing in the main feed
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.