标签: intercom

加载时不要打开对讲信使

我正在将 Intercom 集成到我的网站中,但是当用户加载页面时,聊天窗口会自动打开。我已经浏览了他们的文档,添加了诸如Intercom('hide')关闭和删除自动消息传递等内容,但消息传递仍然打开。我已经联系了他们的客户支持(在他们自己的聊天应用程序上),但没有人回复或联系。在没有人点击聊天按钮的情况下打开它,这是一种糟糕的用户体验。有人知道如何禁用此功能吗?

chat intercom

5
推荐指数
1
解决办法
7633
查看次数

如何在Android和iOS上实现基于Firebase的对讲/一键通/对讲机功能?

我使用 Firebase 作为云数据库并为我的 Android 和 iOS 应用程序处理身份验证,它运行良好。最近也想在基于Firebase的APP中加入对讲/一键通/对讲机功能。我在互联网上搜索了一段时间,但仍然不确定从哪里开始:

(1) Android和iOS都可以实现基于Firebase的对讲/一键通/对讲机功能吗?如果是,是否有任何教程可以开始?

(2) 如果 Firebase 不是正确的方向,是否还有其他关于 Android 和 iOS APP 对讲功能的示例/教程?

android ios firebase firebase-realtime-database intercom

5
推荐指数
0
解决办法
1205
查看次数

Apple Mach-O链接器错误-体系结构x86_64的未定义符号:“ _ UISceneWillEnterForegroundNotification”和“ ___isPlatformVersionAtLeast”

我正在使用https://github.com/tinycreative/react-native-intercom并在那里进行安装和https://developers.intercom.com/installing-intercom/docs/ios-installation

这工作了好一阵子,然后突然开始了。

在此处输入图片说明

  "_UISceneWillEnterForegroundNotification", referenced from:
      +[ICMBridge load] in Intercom(ICMBridge.o)
  "___isPlatformVersionAtLeast", referenced from:
      -[IntercomSDK_IntercomConversationCollectionViewController insetsForAccessoryView] in Intercom(IntercomConversationCollectionViewController.o)
      +[IntercomSDK_ITBUpload createUploadForMediaAsset:completion:] in Intercom(ITBUpload.o)
      +[IntercomSDK_ITBUpload processImageDataForUpload:mediaAsset:info:imageUploadDataUTI:completion:] in Intercom(ITBUpload.o)
      -[IntercomSDK_IIMInputAccessoryView createConstraints] in Intercom(IIMInputAccessoryView.o)
      -[IntercomSDK_IIMInputButtonContainerView createConstraints] in Intercom(IIMInputButtonContainerView.o)
      -[IntercomSDK_IIMMediaViewController updateCollectionViewContentInsets] in Intercom(IIMMediaViewController.o)
      -[IntercomSDK_IIMMediaViewController layoutExpandButton] in Intercom(IIMMediaViewController.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)

xcode ios react-native intercom

5
推荐指数
1
解决办法
853
查看次数

每次路由更新时调用一个函数vue.js

我在我的应用程序中集成了对讲机,我需要window.Intercom('update');每次更改我的网址.

我知道我可以添加它mounted()但我宁愿不修改我的所有组件并使用导航警卫直接进行.(主要是为了避免在10个不同的地方使用相同的代码.

目前我有:

router.afterEach((to, from) => {
  eventHub.$off(); // I use this for an other things, here is not important
  console.log(window.location.href ) // this prints the previous url
  window.Intercom('update'); // which means that this also uses the previous url
})
Run Code Online (Sandbox Code Playgroud)

intercom('update')在更改url之前运行,而我需要在url更改后运行它.

是否有一个挂钩,当网址发生变化时才会运行?我怎样才能做到这一点?

谢谢

javascript intercom vue-router vue-component vuejs2

4
推荐指数
1
解决办法
5066
查看次数

对讲ECMASCRIPT6标签管理器错误

我以前使用Google跟踪代码管理器成功设置了对讲.几个月没有触及它并去制作一个新的标签,但我发现来自对讲机标签的这个错误:

Error at line 6, character 243: this language feature is only supported for ECMASCRIPT6 mode or better: block-scoped function declaration. Use --language_in=ECMASCRIPT6 or ECMASCRIPT6_STRICT or higher to enable ES6 features.
Run Code Online (Sandbox Code Playgroud)

对讲机的脚本自最初起作用以来没有改变:

<script>
  window.intercomSettings = {
    app_id: "key"
  };
</script>
<script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/key';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script>
Run Code Online (Sandbox Code Playgroud)

如果有人遇到此错误并且有任何关于如何解决它的建议或提示,那将非常感激.

javascript google-tag-manager ecmascript-6 intercom

4
推荐指数
1
解决办法
6775
查看次数

在 Intercom 帮助中心使用 Azure SSL 证书

我使用 CNAME 将 mydomain.com 的子域 help.mydomain.com 链接到我的 Intercom 帮助中心。通过 HTTP 一切都工作正常。

我想使用 Azure 订阅中的应用服务证书来使该子域通过 HTTPS 运行。这里的要点是,我没有任何 web 应用程序链接到子域和证书,​​因为它只是一个重定向。

我在 Intercom 网站上阅读了以下文档,但它对 Azure 没有帮助: https: //developers.intercom.com/installing-intercom/docs/set-up-your-custom-domain ?showHidden=f2cb6

如何使用 Azure 来实现这一点?

ssl azure intercom

4
推荐指数
1
解决办法
658
查看次数

尝试使用react-native在ios上安装“@intercom/intercom-react-native”时出错

我按照文档https://developers.intercom.com/installing-intercom/docs/react-native-installation中的方式进行了安装,但是当我运行 pod install 命令时,出现以下错误:

\n
\xe2\x9e\x9c  ios git:(master) \xe2\x9c\x97 pod install \nUsing Expo modules\nAuto-linking React Native module for target `intercomexpo`: intercom-react-native\nAnalyzing dependencies\n[!] CocoaPods could not find compatible versions for pod "intercom-react-native":\n  In Podfile:\n    intercom-react-native (from `../node_modules/@intercom/intercom-react-native`)\n\nSpecs satisfying the `intercom-react-native (from `../node_modules/@intercom/intercom-react-native`)` dependency were found, but they required a higher minimum deployment target.\n
Run Code Online (Sandbox Code Playgroud)\n

ios react-native intercom

3
推荐指数
1
解决办法
3114
查看次数

Ruby 批处理用于对讲的数组

我有一组需要处理的对象。我需要通过他们的 API 将它们发送到 3rd 方系统,它一次只允许我提交 100 个对象。

所以假设我有一个像这样的对象数组

myUserArray = [{first_name: 'Jon', last_name: 'Snow'}, {first_name: 'Sansa', last_name: 'Stark'}...]
Run Code Online (Sandbox Code Playgroud)

我最终像这样将其发送给他们的 API

intercom.users.submit_bulk_job(create_items: myUserArray)
Run Code Online (Sandbox Code Playgroud)

当对象数量小于 100 时,这可以正常工作,但由于它们的速率限制,当大于 100 时会引发错误,这很公平。我有 5000 个对象要处理,所以我需要一种将 myUserArray 批处理成 100 个块的方法,直到它们全部完成。将不胜感激任何建议!

ruby ruby-on-rails-3 intercom

2
推荐指数
1
解决办法
879
查看次数

使用 Promise.all 进行异步等待和瓶颈速率限制

我使用的 API 的速率限制为 500 个请求/分钟。因此我决定使用瓶颈。但我需要执行异步函数数组,它会生成 Promise 来进行 API 调用。我不确定我是否走对了路。因为 API 回复我“在 10 秒内超出了 83 个速率限制”,而我在 10 秒内只发送了 70 个请求。

这是我调用 main 函数的方式:

const result = await Helper.updateUsers(request.query.where);
..
..
Run Code Online (Sandbox Code Playgroud)

这是helper.js

const Boom = require("boom");
const mongoose = require("mongoose");
const Bottleneck = require("bottleneck");

const Intercom = require("intercom-client");

const config = require("../../config/config");

const client = new Intercom.Client({
  token: config.intercom.access_token
});

const User = mongoose.model("User");
const Shop = mongoose.model("Shop");

// create a rate limiter that allows up to 70 API calls …
Run Code Online (Sandbox Code Playgroud)

node.js promise async-await intercom

2
推荐指数
1
解决办法
3700
查看次数

跟踪潜在客户对讲事件

我如何使用JavaScript API跟踪潜在客户的事件。在文档讨论中,例如:

使用JavaScript API时,将代码添加到您的应用程序即可使用事件API。添加后,您可以使用trackEvent方法提交事件。这会将事件与潜在顾客或当前登录的用户或登出的访客/潜在顾客相关联,并将其发送给对讲机。最后一个参数是一个映射,可用于发送有关事件的可选元数据。

但。没用 当我跟踪事件时,对讲机会创建新用户。不提交线索事件。

在对讲管理面板中,潜在客户是之前创建的。

intercom

1
推荐指数
1
解决办法
1096
查看次数