Giter Site home page Giter Site logo

castline's Introduction

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 :-)

castline's People

Contributors

jamesgpearce avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

imclab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.