C# based website: problem with Facebook functionality

My problem is rather simple. I want to implement a "logon with Facebook" functionality on a .NET website, actually just get the user's name and email from Facebook and pass that along to my own logon-mechanism.

My scenario is (see attached text file):

I have a page "[url removed, login to view]" with the given Razor C# code.

On first request in contacts the [url removed, login to view] oauth to retreive an access token.

Sometimes that part seems to retreive an access token - but mostly it just fails with an: [url removed, login to view]: The remote server returned an error: (400) Bad Request. at [url removed, login to view]()

In those situations where it doesn't fail i seem to receive an access token, I pass the access token to my own login method, which using the Facebook API will make calls to retreive the name, email of the user. However this part fails with: "(OAuthException - #190) Invalid OAuth access token."

So please help me with:

1. Finding/explaining what is wrong with my approach in the above


2. Alternatively provide me a way to achieve what I want.

Evner: .NET, ASP.NET, C# Programmering, Facebook API, Software Arkitektur

Se mere: oauth jquery oauth, webexception remote server returned error 400 bad request, error error 1500 url supplied invalid, c# facebook login example, facebook integration in asp.net c#, facebook login c#, asp.net facebook login, asp.net mvc facebook login, login with facebook in asp.net website, facebook integration in asp.net web application, asp.net identity external login, c# programming, .net, angular.js, error loading device boot invalid missing, facebook returned unexpected error 1500 url supplied invalid, error facebook error 1500 url supplied invalid, login functionality website using facebook, error merchant login password invalid account inactive, livezilla remote server returned error 500

Om arbejdsgiveren:
( 0 bedømmelser ) Gentofte, Denmark

Projekt ID: #16472251

Tildelt til:


Hello Hope you are doing well!! I will add Log on Facebook functionality to your website as I am familiar with .net from last 5+ years. I have 5+ years of experience in ASP.NET so I can be the best suitable cand Flere

$50 USD in 3 dage
(28 bedømmelser)

13 freelancere byder i gennemsnit $123 på dette job


Hello, I have 10+ years of web development experience in ASP.NET Core, ASP.NET MVC, ASP.NET Web forms(C#), Classic ASP, SQL Server, HTML5, CSS, jQuery, javascript, JSON and XML. I have handled similar projects. Flere

$100 USD på 1 dag
(47 bedømmelser)

*** Expertise in Microsoft Technologies( ASP.NET,C#, MVC, MSSQL, having 10+ years experience)*** Hello Dear, I have read your requirements for .NET, ASP.NET, C# Programming, Facebook API, Software Architecture Flere

$233 USD in 3 dage
(11 bedømmelser)

Hello I have read the description of the project. I have 5 years experience in development. Please contact me for more discussion. Thanks

$250 USD in 7 dage
(23 bedømmelser)

6 years+ experience on .Net, Asp.Net, C#, MVC, WCF, SQL Server, AngularJS, Bootstrap, HTML5, Telerik Controls. Recently Completed web application - [login to view URL] [login to view URL] ht Flere

$138 USD på 1 dag
(39 bedømmelser)
$155 USD in 3 dage
(13 bedømmelser)

We carefully read your description about the project and knowledgeably aware about your requirements. As software developers we are interested in your project and also we worked with a development team and will meet Flere

$155 USD in 3 dage
(7 bedømmelser)

Hi, I read your request. Using facebook graph api can be a pain in the a** at times, but I've worked with it a lot of time and I've got a clear understand of how it works. I can fix the code and make sure the reque Flere

$100 USD in 3 dage
(4 bedømmelser)

To The Hiring Manager, We are from S IT Solution, we're already skilled and experienced with your Desired skills. If you Consider us to full fill your job then Flere

$35 USD in 3 dage
(2 bedømmelser)

SAYAN PROGRAMMER Hey! I'm RICH P. I've reviewed your complete job description, and I fulfill all the qualifications required for this project. I have more than 15 ye Flere

$50 USD in 3 dage
(0 bedømmelser)

Hey this can be achieved easily just ping me @903646832, I have quite a lot of experience in implementing Oauth

$30 USD på 1 dag
(0 bedømmelser)

Hello, Greetings of the day! I’ve carefully gone through your job posting and you are looking “C# based website: problem with Facebook functionality ” I have 8+ years experience in Digital Marketing and Social M Flere

$155 USD in 7 dage
(0 bedømmelser)

Dear Sir/Mam, I have 5+ year of work experience in .NET technology. I have also highly skilled developer team also who can give any software solution. I have already worked in many ERPs like billing system, MLM system Flere

$144 USD in 7 dage
(0 bedømmelser)