somaraj / facebook-asp.net-webhook Goto Github PK
View Code? Open in Web Editor NEWRetrieving facebook leads using ASP.NET Web API and Graph API Webhooks
License: MIT License
Retrieving facebook leads using ASP.NET Web API and Graph API Webhooks
License: MIT License
i need help i get 502 bad gateway, i have added the access token which i got from graph api in the token variable in the code also i am using ngrok after adding the url and the access token in the verify token it accepts it but when i try to test the leads ngrok gives me in the cmd " POST /api/webhooks 502 Bad Gateway" can you please tell me which step am i doing wrong , i appreciate your effort in this api ,Thanks
Shereen
I test Facebook Lead Ad Forms, status it succeeded. But the post api doesn't get any data. Do you know what to do?
Please help me thx
Hello Somaraj,
First off all thank you for sharing this solution.
I would like to ask you about how to get access token. I can verified my api url but can retrieved anything while testing the fields. There are too much token in facebook developer tool and i used your solution and didnt work for me.
I used this token below.
Thank you!
Hi Im looking at similar solution, have you made any progress yet?
I would like to add more possible features.
I'm new to all this Webhooks thing. Is there any chance of some code examples of how to use it and what it can do?
For example, do I have to do everything in the webhook or can I use a separate app to do things with the results I get back in the webhook?
Thanks
Unable to get information
Hey somraj , i getting information leadgen Field Sample to my server , but i wanna to get live information data like name ,email,mobile. i try to get information by using Lead Ads Testing Tool. can we talk phone or whatsapp (contact no:-8208213320).Please help me
Hi @somaraj Somaraj, I would like to ask if you had a chance to include the fileds name, email, mobile, on the webhook?
Hi! Thank you for this solution! I follow each steps correctly and I try to log something on a text file. At the instruction:
await httpClientLead.GetStringAsync(formUrl)
log the error:
System.Net.Http.HttpRequestException: Il codice di stato della risposta non indica la riuscita dell'operazione: 400 (Bad Request).
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
in FacebookLeadAdsWebhooks.Controller.WebhooksController.d__1.MoveNext() in C:\Users\xxxxx\Downloads\fb\Facebook-ASP.NET-Webhook-master\src\FacebookLeadAdsWebhooks\FacebookLeadAdsWebhooks\Controller\WebhooksController.cs:riga 74
Why?
Hi SomaraJ, I am using your code but experiencing issues, when I try to register the callback url Im getting the following error.
The URL couldn't be validated. Response does not match challenge, expected value="39676783", received=""39676783""
I am thinking that this is caused by the Get request method when facebook is trying to validate the application.
Do you maybe know how I can fix this.
Thanks
Thank you for API code
While doing setup in facebook getting error
The URL couldn't be validated. Response does not match challenge, expected value="1752482085", received="{"version":{"major":..."
can you please suggest what should i do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.