Ask Your Question
2

Why is the facebook signin button commented out?

asked 2011-06-02 18:59:18 -0600

NoahY gravatar image

I've been wondering why my Askbot site didn't have a facebook sign-in button, so I looked through the source and found that in the file:

deps/django_authopenid/util.py

The facebook entry is commented out. Removing the comments restores the button. Am I missing something? Why is it commented out in the code?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-06-02 19:00:36 -0600

Evgeny gravatar image

Problem with the facebook login currently. Need to fix it asap.

FB guys discontinued the older Facebook connect protocol and replaced it with OAuth.

edit flag offensive delete link more

Comments

Hey, thanks for the quick answer.... is it okay to uncomment the button? It seems to login okay...
NoahY gravatar imageNoahY ( 2011-06-02 19:02:18 -0600 )edit
It just won't work. We need to fix the protocol.
Evgeny gravatar imageEvgeny ( 2011-06-02 19:13:07 -0600 )edit
But it does work... I just logged into my site using the facebook button, no problem...
NoahY gravatar imageNoahY ( 2011-06-02 21:31:48 -0600 )edit
Interesting I did have issues with it before. Well, anyway I will look into it on the weekend.
Evgeny gravatar imageEvgeny ( 2011-06-02 21:36:01 -0600 )edit
Well, there is an error on the keys page; it says to enter the api key, but what is really needed is the App ID... Probably if someone entered the api key instead it wouldn't work. Anyway, much appreciations for your work, and surely oauth is the way to go.
NoahY gravatar imageNoahY ( 2011-06-03 07:52:54 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-06-02 18:59:18 -0600

Seen: 163 times

Last updated: Jun 02 '11