Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7870679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T01:41:15+00:00 2026-06-03T01:41:15+00:00

I have been digging on facebook authentication for a week. I came across so

  • 0

I have been digging on facebook authentication for a week. I came across so many things such as facebook_connect, Facebook C# SDK from CodePlex and other ways to connect with facebook which are absolute now. Finally after reading http://developers.facebook.com for many times, I did manage to have a login button and get user’s information for facebook using the new and standard Graph API stuffs. There are in Javascript such as.

var uid = response.authResponse.userID;
var accessToken = response.authResponse.accessToken;
var name = response.name
var username = response.username
var gender = response.gender

On another world, I have Login Control and asp.net Form authentication managing the whole website.

Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate

Dim userName As String = Login1.UserName
Dim password As String = Login1.Password
Dim result As Boolean = UserLogin(userName, password)
If (result) Then
    e.Authenticated = True
Else
    e.Authenticated = False
End If
End Sub

Private Function UserLogin(ByVal userName As String, ByVal password As String) As Boolean
    //validate user // if valid, return true
    //return false if invalid user
End

I can’t remove all form authentication from the existing website. Facebook login should be value added feature to the website. Now the few bits I don’t get is …

  1. How to authenticate the asp.net Form authentication when someone Login to the website using facebook Login.
  2. How do I pass all the value in the javascript to aspx.vb to connect to database and store the information.

I understand I would need to create a new table in the database, probably called FacebookUsers. But I can’t think a way that facebook authentication and asp.net Login control to work together. My website is in VB.net by the way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T01:41:16+00:00Added an answer on June 3, 2026 at 1:41 am
    1. *How do I pass all the value in the javascript to aspx.vb to connect to database and store the information*.
      Check out the following articles they may help you out a bit.
      http://www.codeproject.com/Tips/371917/Get-user-Facebook-details-in-ASP-NET-and-Csharp

    1.-Don’t create a new table just add a new field to your current users table…
    2.-Name the Field FaceBookUID or FB_ID.
    3.-Store the facebook user id .
    4.-Set the default Value of the FACEBOOK UID to 0.
    5.-Now you’ll have a unique value between a regular user and a FacebookUser.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been digging through some ruby gem code and i came across these
I have been debugging my app and checking the memory allocation and came across,
I have been recently digging into Mobile Programming, I practically tried out the J2ME
google analytics is not tracking visits from IE in a Facebook app. I've been
I have been digging around on this site and googling for a while now
I have been digging for custom Flex preloaders and they all seem to rely
I have been spending hours digging in Govinda great job in WebdnaCodeSparker. I must
I have been digging internet for couple days, reading very old information, that leads
I have been digging into the question for a while in StackOverflow Android get
I have been digging since last three days to find out the appropriate way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.