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
Python JavaScript
Branch: master
Failed to load latest commit information.
paypal initial checkin
templates initial checkin
tweetview
README.md Updating README to reflect that this project is now deprecated. Use h…
app.yaml initial checkin
config.template.py initial checkin
index.yaml initial checkin
main.py initial checkin
oauth.py initial checkin
screenshot.png Adding screenshot

README.md

THIS PROJECT IS NOW DEPRECATED

This project is deprecated and will be removed in the near future. Delete your fork of this project and watch/fork PayPal APIs Up and Running instead. Appendix A provides a cleaner baseline Tweet Relevance project and each chapter integrates a different PayPal product with it.

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.