Skip to content

Changed 'if' when setting oauth_token from signed_request. Now token is set only when signed_request is created from request.REQUEST, not from cookie.

License

Notifications You must be signed in to change notification settings

Brick85/fandjango

 
 

Repository files navigation

Fandjango

https://secure.travis-ci.org/jgorset/fandjango.png?branch=master

Fandjango makes it really easy to create Facebook applications with Django.

Usage

@facebook_authorization_required
def greet(request):
    return HttpResponse('Hi, %s!' % request.facebook.user.first_name)

If you'd like to create an application that's a little more elaborate, you should read the documentation.

Installation

$ pip install fandjango

Contribute

  • Fork the repository.
  • Do your thing.
  • Open a pull request.
  • Receive cake.

I love you

Johannes Gorset made this. You should tweet me if you can't get it to work. In fact, you should tweet me anyway.

About

Changed 'if' when setting oauth_token from signed_request. Now token is set only when signed_request is created from request.REQUEST, not from cookie.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%