mediapop / django-friendface

Getting Facebook to work for Django.
2 stars 0 forks source link

Make root canvas view redirect to next_mobile rather than page tab on mobile. #59

Closed kitsunde closed 11 years ago

kitsunde commented 11 years ago

If the canvas URL and the mobile_url is the same we can use the same templates without needing to change {% fburl %} or without needing to allow for /mobile prefixed before each view.

This seems to work:

if request.GET.get('ref') == 'web_canvas':
    print "Mobile"
else:
    print "Not mobile"

Blocked by #50

kitsunde commented 11 years ago

In practice this isn't possible because Facebook is fucking up incoming navigations to the mobile_url, see: https://developers.facebook.com/bugs/124226157757972