问题标签 [facebook-chat]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
facebook-graph-api - 如何将 Facebook 聊天集成到 php 网站或应用程序中
我想知道,如何将 facebook 聊天集成到我的应用程序中,我做了很多研发并阅读和实施了很多示例,但没有奏效。
所以如果你有一个确定的想法或应用程序或任何使它发生的事情,请回复它..
提前致谢..
facebook - Facebook 聊天、XMPP、设置状态?
在 Facebook Chat 中更改浏览器中的状态(离线/在线)时,聊天系统会以以下形式发送 XMPP 消息:
当我使用完全相同的语法将我自己的存在从非浏览器端(xmpp 客户端)发送到浏览器端时,它似乎没有效果。我在这里想念什么?
非常感谢,-米卡
ajax - How does Facebook's Chat Window Remains open and in the same place When you navigate through pages
How does Facebook's Chat Window Remains open and in the same place When you navigate through pages
Please before you answer:
1-I'm aware of Ajax very well and the current implementation in Facebook is not normal Ajax like it used to be in the past.
2-The URL of the page changes completely not the Hash part, and the whole page reloads but not the Chat window or panel.
I Found that the URL changes through this JS Part:
But what about the data itself how doesn't it come ? the Network->XHR in Firebug or Chrome displays nothing in the XHR. so I guess it's not Ajax.
java - 如何为 Facebook 聊天编写宏/网络爬虫?
我的旧非智能手机不支持 GROUP facebook 聊天,所以我试图找到一种方法来抓取 facebook GROUP 消息并将它们作为短信发送到手机。我知道一些 Perl 网络抓取(HTML::TableExtract、WWW::Mechanize、LWP 等),但即使我提供了我的脚本我的用户名和密码,我也无法渗透到 facebook。
有没有办法让这样的网络爬虫工作?我应该查看任何 API 或工具包吗?我不太确定如何开始这个项目。在最坏的情况下,我可以尝试编写一个从浏览器上的某些位置复制文本的宏......
编辑:饼干罐听起来是个好主意,我会研究一下。这是一段(坏的)代码。
android - 将 Android 中的 Facebook 聊天与 Asmack API 集成
我尝试按照此博客中的建议实施聊天支持。
目前,我正在使用以下代码来实现聊天界面。
Java 代码
TestChatActivity.java
布局
主要的.xml
multi_line_list_item.xml
上面的代码使用Asmack库
Google Talk 对我来说工作正常,但 Facebook 聊天不适用于此代码。:(
是否有任何用于 Facebook 聊天连接的特殊配置?或者这种方法与 Facebook 聊天连接错误?
因为我在这方面做了很多研发,并且 Facebook 支持 XMPP 聊天支持,如Facebook XMPP 聊天设置中所讨论的,所以我认为这应该可行。
任何人在 android 中实现了 Facebook 聊天都可以帮助我解决这个问题。
提前致谢...!!!
css-position - 如何构建像facebook聊天栏这样在导航到任何页面时不会重新加载的持久元素?
我开发了一个广播电台小部件(在我的网站上查看)。问题是,我不知道如何让它像http://josephbeeson.com/gwapdemo/gwap.html一样持久。就像导航到任何页面时不会重新加载的 facebook 聊天栏。我已经尝试寻找演示代码,但仍然不明白。请提供一步一步的教程。我想在我的社交网站http://www.heypy.com上实现它。
php - Receive chat from non-friend from Facebook Chat API
I've logged in and used the Facebook CHAT api all right. The problem is that I want to have a system where anyone can send me a message, without actually being on the friend list.
When the sender is in the friend list, I see the message. Is there a possibility that I can configure my account to receive messages from anyone, independing on if they are in the friend list or not?
Best Regards.
javascript - Chrome 扩展:提交时修改 facebook-chat 中的消息文本
我正在尝试创建一个 Chrome 扩展程序,当用户在聊天框中按下回车键时,它会修改提交的消息。文本区域的 HTML 代码:
我尝试对 onkeydown-event 使用类似的东西。当他按 Enter 并提交文本时,我想用文本“测试”替换用户消息
但当然这不起作用,因为 facebooks javascript 使用 Eventlisteners 和 .bind,所以 textarea 中的值在处理和提交文本后发生变化,但我需要在处理之前对其进行修改。有人知道我该如何解决这个问题吗?