Session messenger is great, yet for some releases of Ubuntu and for Whonix in particular the installation is way too frustrating. In particular Both Ubuntu and Whonix don't allow installing this messenger by default due to absence of its repository in the list of approved repos. Is there any easy way to solve the problem?
That's it. You don't need to do any additional steps, and there's no need to define trusted=yes which is wholly unsafe in Ubuntu. If there're errors during installation, then you need to talk to the upstream session desktop developers to have them fix their repositories.
DISCLAIMER: This is the steps to make this work in Ubuntu. Variants of Ubuntu may have additional security controls in the system that deviate from this, which is why Ask Ubuntu does not support non-official variants of Ubuntu or distributions that are based off of Ubuntu but not official flavors of Ubuntu.
Hi Everyone, if there are any possibilities to embed a javascript intercom chat widget in Salesforce Lightning Community. All my attempts to do this faced that widget script blocking by the Salesforce Locker Service. Although it is indicated that Salesforce is fully supported by Intercom
Hi Erick, we are have used your approach, but it was unsuccessful, we were also needed to redevelop js script for the widget, and add more URLs to the whitelist, not only for the community but in the SF setup also. But then we were able to see the widget, finally!!!
However, could you share a full listing for the js script, because it is could not be seen fully on your images, but it definitely a different one than is listed in the official intercom documentation, and also the full list of URLs that needs to be whitelisted?
Bumping this up as I am looking to add Intercom to our Salesforce communities. I followed the instructions listed by Eric but I can only see Intercom when in the Salesforce Experience Builder, not while in the community as a user. I'm assuming this is a permission issue in Salesforce for the chatbot to be visible to users. Does anyone have a solution for what I am experiencing?
Hey Eric, hope you are doing great, is there any way you could post again that doc? Just bumped with this discussion and not being able to find it ? or maybe @Dmitry S @George M11 @Robert B12 could help with that?
To set up Intercom messengers in the communities, one possible solution we will be using is Lightning Web Components (LWC) for the UI and Apex code on the server-side since lightning components are intended to modify their own scope (See Lightning Locker for a full explanation), to initialize the Intercom javascript we need to make use of Head Markup.
A loved one recorded an audio message on Facebook messenger for me; it looks like the image below. I'm trying to download it, but nearly all of the ways to capture it don't see that the file exists, and the one exception to that downloaded a file that nothing can open.
Access this url via chrome and log in -> Select your message that the audio file is in -> Go to file section -> In chrome there should be a download image on the right side (end of the audio file lin) which should allow you to download it.
@GiorgosTheGamer7 the issue isn't related to your Xperia phone but the Google Play Store, you can try to clear the data, caches and reset applications preferences. This is the only way it worked for me to restore Play Store functionality.
No it did not work for me Xperia Z5 compact. The problem started when messenger could not be updated because of error code -505. I tried to delete it's cache and data which did not help, so I uninstalled it and now guess what - can't get it back even after stopping and deleting google play data
Now you may select the installation method you'd like to use. Once you make the choice, you need to toggle "enable user traffic for messenger" on in order to start accepting user requests from your messenger.
If you have a web app with multiple pages where each one triggers a new page refresh then you will most likely need the basic JavaScript method. This means you will not need to create separate actions which trigger when the Messenger will appear or update: The page refresh itself will trigger the action.
One of the most common issues people have when setting up Intercom first is they forget to include their App ID in the above library code and copy and paste it into their site. The problem is you won't see any error message and Intercom will not show up when you boot the Messenger in the next step. You can set it using a var as noted in the above example or manually in the code itself. You might need to include the App ID in multiple places so using a var is generally a good idea.
Now you can setup the Messenger to start up. Replace the example variables below in the boot call with your own user data variables. Once your app initializes, add the boot call where you load user data.
The above example is the most basic way you can launch the Messenger. It does not include any information when it boots. You can include information here if you like but that will depend on what Intercom products you are using and what information you need from your users.
Intercom allows you to put the Intercom Messenger on any public facing site that you own (your marketing site, your docs site, your developer hub, etc). In order to maintain continuity of conversations across all of these potentially different subdomains while your users are logged in, we set a cookie in your user's browser. This cookie expires after one week.
Any user that uses a shared computer and browser with someone else will be able to see the most recently logged in user's conversation history until the cookie expires. Because of this, it's very important to properly shutdown Intercom when a user's session on your app ends (via manually or automatically logging out).
When your user logs out of Intercom (or is automatically logged out by your app), call Intercom('shutdown'); from our JavaScript API or simply shutdown(); for NPM installations, to end the Intercom session and clear the cookie.
Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!
Hello! This is probably one of those intrusive facebook things I won't be able to stop, but when I open messenger in Firefox, it prompts me every! single! time! to download messenger for windows, which I very much don't want to do. It does it via a box over my messages that I have to physically click away. I already have pop-up windows disabled for every site. I went to permissions-- notifications but it wouldn't let me add messenger. Is there anything I can do?
Messenger provides a message bus with the ability to send messages and thenhandle them immediately in your application or send them through transports(e.g. queues) to be handled later. To learn more deeply about it, read theMessenger component docs.
Messenger centers around two different classes that you'll create: (1) a messageclass that holds data and (2) a handler(s) class that will be called when thatmessage is dispatched. The handler class will read the message class and performone or more tasks.
A message handler is a PHP callable, the recommended way to create it is tocreate a class that has the AsMessageHandlerattribute and has an __invoke() method that's type-hinted with themessage class (or a message interface):
You can also use the #[AsMessageHandler] attribute on individual classmethods. You may use the attribute on as many methods in a single class as youlike, allowing you to group the handling of multiple related types of messages.
Thanks to autoconfiguration and the SmsNotificationtype-hint, Symfony knows that this handler should be called when an SmsNotificationmessage is dispatched. Most of the time, this is all you need to do. But you canalso manually configure message handlers. Tosee all the configured handlers, run:
By default, messages are handled as soon as they are dispatched. If you wantto handle a message asynchronously, you can configure a transport. A transportis capable of sending messages (e.g. to a queueing system) and thenreceiving them via a worker. Messenger supportsmultiple transports.
Thanks to this, the App\Message\SmsNotification will be sent to the asynctransport and its handler(s) will not be called immediately. Any messages notmatched under routing will still be handled immediately, i.e. synchronously.
You may use a partial PHP namespace like 'App\Message\*' to match allthe messages within the matching namespace. The only requirement is that the'*' wildcard has to be placed at the end of the namespace.
The only drawback is that '*' will also apply to the emails sent with theSymfony Mailer (which uses SendEmailMessage when Messenger is available).This could cause issues if your emails are not serializable (e.g. if they includefile attachments as PHP resources/streams).
If you configure routing for both a child and parent class, both rulesare used. E.g. if you have an SmsNotification object that extendsfrom Notification, both the routing for Notification andSmsNotification will be used.
You can define and override the transport that a message is using atruntime by using theTransportNamesStamp onthe envelope of the message. This stamp takes an array of transportname as its only argument. For more information about stamps, seeEnvelopes & Stamps.
If you need to pass a Doctrine entity in a message, it's better to pass the entity'sprimary key (or whatever relevant information the handler actually needs, like email,etc.) instead of the object (otherwise you might see errors related to the Entity Manager):
If a message doesn't match any routing rules, it won'tbe sent to any transport and will be handled immediately. In some cases (likewhen binding handlers to different transports),it's easier or more flexible to handle this explicitly: by creating a synctransport and "sending" messages there to be handled immediately:
d3342ee215