Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
client
server/castlineapp
.gitignore
README.md
castline.png

README.md

CastLine

Posting your podcast habits to the Open Graph

Uses AppleScript to detect what podcast you are listening to.

Posts the objects (for episode and podcast series) to a Google App Engine instance.

Posts the listening action to the open graph, so you can log your listening habits and share with friends.

(It also talks to you to tell you it posted an action.)

With this, I see my listening turning up in Timeline thus:

This code won't work

Firstly because I removed the app_id and app_secret required, but also because the castline actions are not approved and so only named developers and testers can submit actions to appear in their ticker and timeline.

Nevertheless, if you ever wondered how you might hack OAuth2 with AppleScript, or b64 encoding artwork by shelling out to python, this might be interesting.

Also the GAE piece might demonstrate an interesting start to a generic OG-centric model & handler framework.

On the whole, this is a small personal project, and certainly not intended as readable, re-usable industrial-grade code :-)

Something went wrong with that request. Please try again.