Retrieve Email Id from FaceBook Login in vb.net application - asp.net

I want to integrate Facebook with my .net application which is in vb.
I want to use facebook login as open id login to my application.
I reached to login with fb and get all basic information of my facebook profile.
But still I do not get facebook login id(means facebook login email id) in my user information detail retrieved from facebook.
Please help me out to solve this.
I get first name, last name and etc. but I want email id of facebook login or primary email address.

You'll have to prompt your users to grant the email permission. Then you'll be able to pull the email field in the same API call that you get their name and basic info.

Related

How to get User data (name,image) in firebase authentication with facebook?

I create login page where user can login through facebook successfully but I only get user email and userid in firebase.
The thing I want is username, profile image, etc.
(Edited)
You can't get anyone's password through Firebase Authentication. That would be a huge security hole, wouldn't it? Profile image should be available, if the user provided one through Facebook.

How to get the Facebook logged in users Friends details and send them message from C# application where logged in user is not the admin

How to get the Facebook logged in users Friends details and send them message from C# application where logged in user is not the admin?
Non admin users can retrieve their facebook friends if in the app created in facebook has its sandbox mode as off.
to send message u can user send dialoge provided by facebook "http://developers.facebook.com/docs/reference/dialogs/send/"

Schedule and post comments to FaceBook wall using ASP.Net

i want to develop application like hootsuite . com
Schedule the FaceBook wall using ASP.Net
main question :
once user login in my system then he need to add his facebook user name and password once then how can i store that user's FB username and password because they need to Schedule and post comments to FaceBook wall so every time user will not login
can any once guide step by step ?
i hope you all help me
Thanks
once user login in my system then he need to add his facebook user name and password once then how can i store that user's FB username and password
This is completely the wrong approach – FB’s policies discourage users to share their login credentials with third-party services, and if your app will be caught asking for those, it will most likely be disabled quickly.
Get access tokens from the users, and use those to post.
https://developers.facebook.com/docs/authentication/, https://developers.facebook.com/roadmap/offline-access-removal/

Facebook/Twitter login in my application

I am developing my site and in my site I want users to login through their
social network credentials like Facebook and Twitter.
How should I track these users whenever they do any event on my site? Suppose a user logs in with Facebook username & password, and now he is redirected to the next page. On that page, we are doing some activity like 'add something'. How to track this?
Is there any procedure for working with this?
The common practice is to associate user's Facebook or Twitter account with your internal account and then track all user activity via your internal account id. If the newly logged in user doesn't have an internal account, then silently create it from Facebook/Twitter data and auto-associate.
Btw, integrating your ASP.Net app with Facebook and Twitter will be easier using Facebook C# SDK for Facebook and Twitterizer for Twitter.
Have a look a the OAuth C# Library
http://www.matlus.com/oauth-c-library/

How do I access a Facebook users details with their login credentials?

I have a site where users can register an account. To do this they have to enter various details about themselves (Name, DOB, Email Address, Password, Username etc..).
However, I would like them to just have to enter their Facebook username/password, and have all this information pulled from their Facebook user account.
How is this possible using ASP.NET 2.0?
Thanks!
Curt
I think you're approaching this the wrong way. You should never ask a user for their facebook (or whatever 3rd party) password.
Instead, you can use Facebook Connect to redirect them to Facebook, where they can allow your application, so you will get user info relevant to your site (name, DOB, Email, but not username/password).
I suggest reading the FB docs to get a better idea about the process.

Resources