Skip to content

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
Python
branch: vk/4sq_twitter

This branch is even with master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
4sq.py
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.