mattupstate/flask-social — pull request #17 by eriktaubeneck (2013-01-23 00:47:16+00:00)
Title: Develop

Since the 'post' metaphor isn't appropriate for all social network usage, I created a use_api() method for the current_app.social.OAuthRemoteApp objects. This method relied on a flask-wtf form, so there is also a get_form() method which gets the form by action.

Now, the usage of the API can be controlled in the providers' modules. Similar actions (such as 'post') can be abstracted. A post on twitter or facebook is handled the same way by the app, but is handled by the specific API in the provider's module.

An example usage is demonstrated [here](https://github.com/eriktaubeneck/flask-social-example).