android - How can I get Facebook userName by userID using Asp.net? -
I am making an app for Android
I now use the "Facebook SDK for Android" I can use the User ID and Store in SQL Server
The problem is ..
I use "asp.net 4.0" (Visual Web Developer 2010) and " Facebook "SDK" .NET "to parse the user name on the server without the login button?
I got some information to use the dynamic access token.
But whatever examples I have found, using the View 2013, MVC, login button
is not what I want. I just want an original ASPX
Does anyone know anything about the question?
< Div class = "post-text" itemprop = "text">
Facebook does not provide usernames If you are looking for a user's name then use this code
Get accessstones here. Step 1:
Step 2: Add Facebook reference to your project's new package.
Use this name's location:
using Facebook;
Use this code:
_apiKey = "API key" _apiSecret = "SECRET KEY" var accesstooken = " Accesstoken pass "stored ID hidden area" // check above link above var = Client = new Facebook Client (AccessToken); dynamic me = client.Get ("me"); Response (me.first_name + "" + me. Last_name);
If you are looking for more functionality in Facebook using C #, then let me know I can definitely help you.
Comments
Post a Comment