Comments (9)
+1
please add account linking feature in this demo
such as Auth0.com code flow and add in the app in the beginning ideally so the messenger will recognize the user from the day one
from original-coast-clothing.
Problem:
In my case what happening is, it is always saying Account Linking Failed
What I am doing
when I need user to be linked to my app, I send a login button to the user like this:
http.post(`https://graph.facebook.com/v2.6/me/messages?access_token=${PAGE_ACCESS_TOKEN}`, {
"recipient": {
"id": "2829343507138856"
},
"message": {
"attachment": {
"type": "template",
"payload": {
"template_type": "button",
"text": "Try the log in button!",
"buttons": [
{
"type": "account_link",
"url": "https://dev-sysborg.auth0.com/authorize?response_type=code&client_id=VYierFrTxMb1Kky3DfPEqUHXaShdmH43"
}
]
}
}
}
}).then(() => {
response.send("ok")
})
user see this login button like this on their messenger screen:
when user try to login by pressing the button, it pops up a new window and open login screen in that window:
and after entering credentials it redirects to a screen which says Account linking failed,
I am sure there is nothing wrong with the Auth0 configuration because it is working fine with postman and connected very well with some other platforms
someone said I must have to subscribe to account linking event so I have subscribed to these three events: messages, messaging_postbacks, messaging_account_linking
I am Stuck at the end of the story,
Please help me out
from original-coast-clothing.
Have you whitelisted the domain https://dev-sysborg.auth0.com? Try it an check in the meantime this issue is open and will be closed as soon a we shipped the account linking demo.
here is the devdocs of it but I assume that you already know that.
https://developers.facebook.com/docs/messenger-platform/identity/account-linking/
from original-coast-clothing.
Hi @jorgeluiso
your mentioned document doesnt talk about whitelisting domain, can you please check if you send me correct document link, or may be you can tell me directly how can I whitelist my domain
thanks in advance :-)
from original-coast-clothing.
I have found domain whitelisting inside facebook developer app > setting > advanced setting
but is doesnt help :-(
screenshots:
from original-coast-clothing.
Try whitelisting the domain at the page level, on the messenger platform settings of the page.
https://www.facebook.com//settings/?tab=messenger_platform
If that does not work, rest assure that we are going to implement this and close this issue. Alternatively you can implement you own account linking leveraging the extension sdk to get the psid on a webview rendered as an extension. On that webview you can provide a login flow were you then can match your user id with the psid provided by the extension SDK.
https://developers.facebook.com/docs/messenger-platform/guides/chat-extensions/
from original-coast-clothing.
Hi @jorgeluiso,
I visited the page setting and I put the url there in whitelist but still the problem is same
can you please guide me which is the best place where i can ask for support
Thanks,
Malik.
from original-coast-clothing.
do something @jorgeluiso @rubycalling
from original-coast-clothing.
https://stackoverflow.com/questions/56695996/trouble-in-facebook-messenger-account-linking-process
from original-coast-clothing.
Related Issues (20)
- webokqiioo
- https://labqiioo.com/Callback URL HOT 1
- Relojerias Labqurzor HOT 1
- Relojerias Labqurzor > https://githubcom/fbsamples/blob/ecb454f0e67d49d7342b805d2288483e11a8cf15/applabqiioo/app.js#L27> https://github.com/fbsamples/blob/ecb454f0e67d49d7342b805d2288483e11a8cf15/app.js#L27
- Short description of the feature HOT 2
- RGPD problems (Europe) : impossible to solve ? HOT 4
- Test issue to verify ticket assignment HOT 1
- No Greetings Messages with buttons and products are not being displayed HOT 2
- Unable to callSubscriptionsAPI HOT 1
- Bot Not as it should HOT 1
- How does OriginalCoastClothing avoid the "User wants to send you a message" speed bump? HOT 2
- Pause automation on Human Agent Replies from Page Inbox HOT 2
- Send fails for Apps without advance User Profile Access
- ERROR - Need a proper API_URL in the .env file HOT 1
- App Type needs to be "Business" HOT 1
- webview does not load on messenger.com HOT 2
- Short description of the issue HOT 1
- Short description of the issue
- I can't read the message from instagram dm HOT 3
- Short description of the feature HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from original-coast-clothing.