Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sample code for an app that ranks tweets by relevance and serves them up to a mobile client
Tree: 976e78efd9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
paypal
templates
tweetview
README.md
app.yaml
config.template.py
index.yaml
main.py
oauth.py
screenshot.png

README.md

Overview

This GAE project provides sample code that demonstrates how to create a minimal web app that logins users with their Twitter account and displays only their most relevant tweets (as determined by a trivial algorithm that can easily be modified/extended) as part of a UX that is optimized for a mobile client. First-time visitors get to login free for a number of times and experience the app before they are requested to purchase additional logins to continue using the app.

Mike Knapp's https://github.com/mikeknapp/AppEngine-OAuth-Library project is used to handle making OAuth requests to Twitter.

Pat Coll's https://github.com/patcoll/paypal-python project is adapted to implement a (Mobile) Express Checkout flow using PayPal

The application's primary UI is adapted from the final installment of SitePen's TweetView project at http://dojotoolkit.org/documentation/tutorials/1.6/mobile/tweetview/packaging/ and is intended to be delivered to a mobile display like an iPhone, although development works fine on a desktop browser like WebKit. The UI for the payflows is minimal.

Getting Started

Follow these steps to get up and running:

  • Download this project's source code
  • Configure the source code as a Google App Engine project
  • Create a buyer/seller account in PayPal's developer sandbox
  • Create a Twitter account
  • Create a sample Twitter application
  • Copy config.template.py to config.py and fill in the PayPal API and Twitter API variables
  • Launch the project, and ideally access it through a mobile browser (or mobile browser simulator.)

Screenshot

screenshot!

Provided by: Zaffra, LLC - http://zaffra.com

Something went wrong with that request. Please try again.