Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is a simple example using authlogic (https://github.com/binarylogic/authlogic) to show how to enable API type access to your Rails app. See the examples in the lib/tasks/restclient directory for how the API would be used. This is probably a duplication of one of the examples in https://github.com/binarylogic/authlogic_example , but I could not find it. It uses the single_access_token. The general procedure is to do a POST to /user_session with login/password details to login. This returns user details in JSON format, including the single_access_token - which is then passed as the user_credentials parameter in subsequent calls. FACEBOOK AUTHLOGIC INTEGRATION OPTIONS - https://github.com/joescharf/authlogic_haapi - https://github.com/james2m/authlogic_facebook_shim - https://github.com/studybyte/authlogic_facebook_connect - https://github.com/viatropos/authlogic-connect - https://github.com/kalasjocke/authlogic_facebook_connect / marked as not maintained, from 2009 USEFUL LINKS - http://blog.ekynoxe.com/2009/11/04/api-token-access-with-authlogic-and-login/comment-page-1/#comment-2341 TODO - add support for facebook, in particular via the API.