Search This Blog

Tuesday, April 21, 2015

Twitter API – Error 401

 

I have a Raspberry PI2 running a PostgreSQL database (+PostGIS)…. and a python script to grab GeoTweets. It works surprisingly well.

However one thing to consider is that the Pi clock resets to 1970 after power has been disconnected!

If you don’t do this and try to connect to the Twitter API then you get error 401 – unauthorised. Also need to remember to set the clock without adding an hour for BST!!

No comments: