First time here? Check out the FAQ!
2

Why is the facebook signin button commented out?
 

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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
NoahY's avatar
303
NoahY
asked 14 years ago

Comments

see more comments

1 Answer

1

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

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 14 years ago
link

Comments

Hey, thanks for the quick answer.... is it okay to uncomment the button? It seems to login okay...
NoahY's avatar NoahY (14 years ago)
It just won't work. We need to fix the protocol.
Evgeny's avatar Evgeny (14 years ago)
But it does work... I just logged into my site using the facebook button, no problem...
NoahY's avatar NoahY (14 years ago)
Interesting I did have issues with it before. Well, anyway I will look into it on the weekend.
Evgeny's avatar Evgeny (14 years ago)
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's avatar NoahY (13 years ago)
see more comments