Comments (12)
Hi, that sounds familiar. We are aware of an issue which may cause this and are looking into it. I'll update here when it's fixed.
from messenger-bot-samples.
I am experiencing the same issue. To clarify, only the 'Create a List' button in the menu exhibits the issue. I am able to open the 'Create a List' webview from the messenger extension button.
from messenger-bot-samples.
https://developers.facebook.com/bugs/1676913532599603/
from messenger-bot-samples.
Are you still experiencing this? In order to debug it put a div inside the page and dump the exception there. Then test it on your mobile in the webview.
Did a test on my side and it works fine.
from messenger-bot-samples.
Same problem here with demo bot for group tasks:
Problem occurs when selecting 'create list'.
I dont have problems displaying other webviews
Messenger version 128.0.0.21.88
Android
Cheers,
P
from messenger-bot-samples.
@tgrrr webviews are now available on desktop so it should be easier to debug. Can you look into what error is being thrown and post it here?
from messenger-bot-samples.
@tcsapunaru The browser seems to be rejecting the connection because it is http instead of https. I'll share the exact logs in a moment, does the server need to be created with the https package?
from messenger-bot-samples.
[Warning] [blocked] The page at https://{DOMAIN}/lists/new was not allowed to display insecure content from http://{DOMAIN}/socket.io/?EIO=3&transport=polling&t=LshGGa5. (bundle.js, line 23185)
[Error] XMLHttpRequest cannot load http://{DOMAIN}/socket.io/?EIO=3&transport=polling&t=LshGGa5 due to access control checks.
create (bundle.js:23185)
Request (bundle.js:23090)
request (bundle.js:23017)
doPoll (bundle.js:23047)
poll (bundle.js:11074)
doOpen (bundle.js:11019)
open (bundle.js:7412)
open (bundle.js:22181)
Socket (bundle.js:22060)
Socket (bundle.js:21970)
connect (bundle.js:18197)
(anonymous function) (bundle.js:18511)
[Warning] [blocked] The page at https://{DOMAIN}/lists/new was not allowed to display insecure content from http://{DOMAIN}/socket.io/?EIO=3&transport=polling&t=LshGHoL. (bundle.js, line 23185)
[Error] XMLHttpRequest cannot load http://{DOMAIN}/socket.io/?EIO=3&transport=polling&t=LshGHoL due to access control checks.
create (bundle.js:23185)
Request (bundle.js:23090)
request (bundle.js:23017)
doPoll (bundle.js:23047)
poll (bundle.js:11074)
doOpen (bundle.js:11019)
open (bundle.js:7412)
open (bundle.js:22181)
Socket (bundle.js:22060)
Socket (bundle.js:21970)
connect (bundle.js:18197)
(anonymous function) (bundle.js:18511)
from messenger-bot-samples.
Ok, the insecure content issue was just a problem with my local config but now I'm seeing this on Desktop and Mobile:
TypeError: undefined is not an object (evaluating 'window.MessengerExtensions.getGrantedPermissions')
from messenger-bot-samples.
This went stale closing as issue disappeared in the meantime.
from messenger-bot-samples.
For those coming here when you're setting the x-frame-options
to the proper allow domains, there's an open bug on FB side https://developers.facebook.com/bugs/147147746075305/
from messenger-bot-samples.
Still broken..
from messenger-bot-samples.
Related Issues (20)
- Can you publish project structure HOT 2
- Please try in Messenger App HOT 2
- `${SERVER_URL}/` seems to be not resolving properly HOT 5
- listId is not defined HOT 2
- call MessengerExtensions.requestCloseBrowser function from js file? HOT 2
- Tasks demo is not working HOT 2
- Can I use c9.io instead of Heroku HOT 1
- Chat extensions example is broken again HOT 2
- Why do they require the messenger app? HOT 3
- Detects app as browser HOT 7
- Comments uncompatible with documentation HOT 1
- 'Tried accessing nonexisting field (whitelisted_domains) on node type (Page)' HOT 3
- Update thread_settings to messenger_profile
- Messenger App detected as Web (again) HOT 3
- config:set HOT 1
- Messenger App detected as Web (Again (Again)) HOT 3
- The method callThreadAPI is missing HOT 1
- Messenger app not detected HOT 3
- Messenger drops beginShareflow (deprecates chat extensions?) HOT 7
- Replace request with axios in all the examples
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-bot-samples.