Bill
Bill

Reputation: 2352

Basic Authentication with Twitter and Facebook

Is there a way to authenticate to Facebook / Twitter using basic authentication? the application I am working on requires posting to those two sites without the need to open the oAuth Dialog.

Upvotes: 1

Views: 944

Answers (2)

Andrew Arnott
Andrew Arnott

Reputation: 81801

No, thank goodness.

Basic authentication requires that you take the user's password, which is a secret between them and Twitter/Facebook. You shouldn't be asking for it.

If your app is physically unable to display the dialog, OAuth 2.0 (not available on Twitter) offers a way (last I checked) for an independent web browser on another computer to perform the OAuth authorization process to your app running on some limited device.

Upvotes: 0

Sathyajith Bhat
Sathyajith Bhat

Reputation: 21851

Both twitter & facebook don't support basic auth.

Upvotes: 2

Related Questions