New Facebook Payments
This application is a presentation and demo showcase of the new Facebook Payments API. You can watch the presentation (but be warned, it includes a Paywall) at Facebook.
. ├── app.rb (Sinatra application, HTTP handlers) ├── lib │ ├── facebook.rb (Facebook Singleton used for Signed Requests n stuff) │ ├── facebook_payment.rb (Facebook Payment) │ └── sinatra │ └── facebook_helpers.rb (Usefull helpers for the HTTP layer) ├── public │ └── hanginthere.gif (a cat in space) └── views ├── landingpage.erb ├── layout.erb ├── oauth.erb ├── og_currency.erb (Opengraph html representing a currency) └── og_package.erb (Opengraph html representing a package)
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 Copyright (C) 2013 Lukas Rieder <email@example.com> Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.