Comments (4)
Is it that /optionspostback
is never hit, or it doesn't behave as expected? If it's never hit, then you'll have to debug your form, since the actual form/submit button isn't related to Messenger Platform, but is a standard HTML form.
from messenger-platform-samples.
It never hit the /optionspostback if we submit the form invoked by messenger installed on Android.
If we use iPhone, the same code base with webview will return properly and behaves as expected.
from messenger-platform-samples.
@thynn11 I just tested on Android, and the tutorial / code works as expected. From a stack overflow issue I just realised that the tutorial doesn't explicitly tell you to make sure you add your app_id
to public/options.html:
MessengerExtensions.getContext('<APP_ID>',
So make sure you have that set and let me know if it now works for you, though that doesn't explain to me why it works on iOS. Try that first and let me know, we'll get the tutorial updated to make that explicit too.
from messenger-platform-samples.
Thanks @ChrisChinchilla!
from messenger-platform-samples.
Related Issues (20)
- Generate page+app access token to subscribe an app. HOT 1
- How to create https server for webhook HOT 1
- Callback verification failed with the following errors: HTTP Status Code = 404 HOT 1
- OAuthException - An active access token must be used to query information about the current user. HOT 1
- Unable to reach ec2 ip HOT 2
- Can't get Handover sample "take from inbox" to work HOT 2
- myapp-0217
- how to include .env file ? HOT 1
- [docs] Broken link in README.md
- Facebook Messenger Webhook cURL Post Error HOT 1
- No Such Branch As `tutorial-starters` As Mentioned In messenger-platform-samples/quick-start/README.md HOT 2
- Error while creating a test page using graph API explorer HOT 2
- belajar.js
- location or ip address HOT 1
- The "request" dependency is deprecated. An updated example is required. HOT 3
- How to send a document using this repo HOT 3
- main HOT 4
- Typescript typings and support HOT 2
- Help regarding verify token
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 messenger-platform-samples.