costastf / locationsharinglib

A library to retrieve coordinates from an google account that has been shared locations of other accounts.
MIT License
170 stars 29 forks source link

service.get_all_people() not returning all shared persons #71

Closed hemantkamalakar closed 5 years ago

hemantkamalakar commented 5 years ago

Hi, Thanks a lot for this library. It is really helpful. I have setup a new Google account and shared location using Google Maps app with the new account. My wife also did the same. Using locationsharing lib usage example I can only see my wife's location. If i check in the Google Maps the new account shows both shared account. What could be the issue?

costastf commented 5 years ago

Hi, thanks for the kind words! Please try to run it with debug on, it will probably be clear.

costastf commented 5 years ago
import logging
logging.basicConfig(level=logging.DEBUG)

Run the above before the snippet mentioned on the usage page. Please be careful it pasting the output as it will contain personal info.

costastf commented 5 years ago

Hi @hemantkamalakar any update?

hemantkamalakar commented 5 years ago

I managed to fix this issue by generating the new cookie on Ubuntu. The cookie generated on Windows 10 was only showing one person. Thanks again for writing such a great library. I am closing this issue now.

AlejandroRivera commented 4 years ago

FWIW, I had the same issue using the extension in Google Chrome called "cookies.txt", but no issues with the Firefox plugin called "Export Cookies".

costastf commented 4 years ago

ok, so apparently we have a matrix of success across OSes and plugins and the documentation of the project could benefit with the info. I would happily accept MRs that can fill in that matrix and save people time.

nferreyra commented 4 years ago

I was also dealing with this same issue when using the cookies collected with the Chrome plugin. After reading this and use Firefox with the Export Cookies it just works! Thanks for your work @costastf.