Chat Extensions on Facebook Messenger web app - facebook

Facebook just launched Chat Extensions and open-sourced an example extension called TaskBot, which works in a chat between two people. The Github repo is here, and the official docs are here.
I tried to play around with it. Works fine within mobile app. But not within the web app (via messenger.com). When I try to edit a task list, I get redirected to the page https://messenger-taskbot.herokuapp.com/lists/{id} and I have the following message:
So I guess there isn't going to be Chat extensions for messenger.com on browser yet?

Chat Extensions use webviews, and on "desktop" Facebook Messenger and messenger.com webviews open in new tabs. Chat Extensions rely on webview windows opening within the chat thread itself.
From the docs you linked to:
When the user taps the chat extension's icon, it opens a webview-based
UI specified by the developer. The user can then create or select
content to be shared into the thread. The message shared into the
thread can contain images, links, and more.
So yes, it seems that chat extensions are meant to be mobile only.

Related

Is there a way to open a dynamic link in a browser?

I have an ionic app where i can send invitations (share app link), I used firebase dynamic links. When I share it, the person who receive the message can open the link in a device (tested for android) and he is redirected to the play store ( app not found because i am still testing it), but if the link is opened on a pc, then browser opens with page not found.
I am new to all the stuff.
As the first point, the link that should be shared is your website domain name example.com/anypagename that couldn't be direct accessed.
Whwn user click this link from any place it will redirect him to this website page, And in this page for website you will add a function to detect device, and if device is android, it send a response of google play link and same for ios and if desktop will redirect to main website page.
http://mobiledetect.net
Use this library to achieve what i said above...
I had a lot of success for scenario similar to you by using Branch.io service. It is mostly free with advanced features being priced.
Do have a look at their offering. If not i can help out too.

How is possible to open website inside facebook mobile app like buzzfeed?

I see buzzfeed did some changes on their website, and now buzzfeed URLs shared on facebook are shown as below
Links shared on facebook opened inside facebook like new window. It doesn't requests any other browser or facebook apps browser. Page loads very fast. How it's possible to implement? What technology uses Buzzfeed for it?
The feature is called Instant Articles and is available for publishers, it seems more like people publishing the articles on their platform.
see: https://instantarticles.fb.com/

New Facebook Messenger integration doesn't support URL Scheme Suffix?

I'm developing a 2nd version of our app for Facebook Messenger to meet their new platform integration requirements described here:
https://developers.facebook.com/docs/messenger
I'm attempting to allow both apps to share the same Facebook App ID. This page from the iOS troubleshooting docs has a section on Sharing an app ID across Apps
https://developers.facebook.com/docs/ios/troubleshooting#testsharedialog
It shows you how to add URL Scheme Suffixes to your apps so that they can both live on the same phone yet share the same Facebook App ID.
I've done this and it works successfully so that both apps can use Facebook login without stepping on each others toes. However, it seems that doing so broke my integration with FB messenger, which was previously working.
After following the instructions on the troubleshooting link above and adding the fields for the URL Scheme suffix, the videos I send to FB messenger no longer have a Reply button on them. Media inside Messenger that was sent from my app no longer contains any tappable element that takes you back to my app.
Does anyone know if there's a way to get the URL Scheme Suffix working in a way that it still works with the new Messenger Platform?
Thanks!
Heard back from Facebook directly on this. Their response:
No it doesn't. Because we will try to open the scheme without suffix. How would we know which suffix you want to open from messenger? ... So no suffixes are not supported. Just use a different app id.

Can chrome app pass a message/communicate with an embedded page?

As far as I know, only chrome extensions can communicate to an embedded page using content scripts. But is there a way to communicate with an chrome app from a specific page?.
The docs explicitly say:
Similar to cross-extension messaging, your app or extension can receive and respond to messages from regular web pages.
So the "externally_connectable" approach should work, as described in the docs. Note that an event listener for onExternalMessage registered in a background page for an app will fire even if app is not open.

Misconfigured: App Sorry, That Helps hasn't been approved for display in App Center

I have a simple Facebook App that I use to allow users of my website to login with Facebook. Recently I added a basic custom story via the open graph API, e.g.
Nick plays a mixtape via anexample.com
The custom story appears in my stream as expected, however when I click the anexample.com link on the story I get the following error and cannot access the actual Facebook App page:
Sorry, the details for anexample.com cannot be displayed because the app is
misconfigured.
What is strange, is that the application redirects at
https://www.facebook.com/games/?app_id=AN_APPLICATION_ID
despite the fact that the app is not registered as a game.
Has anyone else faced this behaviour?
Thanks,
On tapping on the App link, you could navigate it in one of the two possible ways
Any FB page: Add the page in Advanced settings of your App.
A website: Add a web platform