Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Using a hidden (¿?) 4sq feature to show anyone's last know location

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 4sq.py
Octocat-spinner-32 README
README
NOTE: foursquare method does not work anymore, using twitter now through yahoo pipe to get JSON then parsing it here in python

________

Using a hidden (¿?) 4sq feature to show anyone's last known location

Edit 4sq.py file:
- Specify your foursquare username whose location you want to fetch: user = "...".
- Specify file to which location would be written: output_path = "...".
- Check first line to make sure path to python binary is correct.

Test it by running $ ./4sq.py and checking output file. If necessary _touch_ output file
giving it proper permissions.

Automate the process:
- You can add this script to your cronjob to run periodically. I do the following to run
it every 15 minutes: */15 * * * * /home/vlad/etc/4sq.loc/4sq.py

Something went wrong with that request. Please try again.