标签归档:whatsapp

WhatsApp API(java / python)[关闭]

问题:WhatsApp API(java / python)[关闭]

我正在寻找WhatsApp API,最好是Python或Java库。

我已经尝试过Yowsup,但是无法注册我的电话号码;我住在印度,不知道是否与印度有任何关系。

我确实尝试过WhatsAPI(Python库),但也不起作用。

有什么建议吗?这里有Yowsup的用户吗?

I am looking for WhatsApp API, preferably a Python or Java library.

I’ve tried Yowsup, but could not get my number registered; I am based in India and I am not sure if that has got anything to do with it.

I did try WhatsAPI (Python library) but it is not working either.

Any suggestions about this? Any users of Yowsup here?


回答 0

尝试了一切之后,Yowsup库为我工作。我所面对的错误已得到修复。任何尝试使用Whatsapp做某事的人都应该尝试一下。

After trying everything, Yowsup library worked for me. The bug that I was facing was recently fixed. Anyone trying to do something with Whatsapp should try it.


回答 1

从我的博客

礼貌

WhatsApp正在与特定企业合作开展一项秘密试点计划

新闻报道:

对于我的一些技术实验,我试图从市场份额以及适应的可能性方面,弄清为不同的聊天平台实现机器人的好处和可行性。尤其是当您破产两次失败时,重要的是验证想法并更快地失败。

流行的聊天平台,例如MessengerSlack Skype等,已经很高兴(正式意义上)提供了与机器人进行交互的API,但是WhatsApp尚未提供任何API。

然而,多年来,围绕此发生了许多活动-努力与WhatsApp平台进行自动交互:

  1. Bots App Bots App很有趣,因为它表明某些东西确实经过尝试和测试。

  2. Yowsup 一个仍在积极开发以与WhatsApp平台进行交互的项目。

  3. Yallagenie Yallagenie声称有一个演示机器人可以与+971 56 112 6652进行交互

  4. Hubtype Hubtype正在努力为商务WhatsApp建立一个机器人平台。

  5. 弗雷德· 弗雷德(Fred Fred)的任务是使WhatsApp对话自动化,但是由于WhatsApp并未正式支持该对话,因此已将其关闭。

  6. Oye Gennie, 一个 WhatsApp 阻止的机器人。

  7. 应用程序/网站到WhatsApp 我们可以使用自定义URL方案和Android意向系统与WhatsApp进行交互,但仍不能与WhatsApp API进行交互。

  8. 聊天API守护程序 可能是通过检查WhatsApp Web版本中的API调用而创建的。不隶属于WhatsApp。

  9. WhatsBot 停用了WhatsApp机器人。在hackathon期间创建的。

  10. 没有API声明 WhatsApp联合创始人在一次会议上明确表示他们没有针对WhatsApp API的任何计划。

  11. Bot Ware 他们可能期望WhatsApp为聊天机器人平台发布其API。

  12. Vixi 他们似乎在谈论某种平台可能适用于WhatsApp。尚无明确说明。

  13. 非官方API 该API可以随时关闭。

    而且这个数字还在继续…

From my blog

courtesy

There is a secret pilot program which WhatsApp is working on with selected businesses

News coverage:

For some of my technical experiments, I was trying to figure out how beneficial and feasible it is to implement bots for different chat platforms in terms of market share and so possibilities of adaptation. Especially when you have bankruptly failed twice, it’s important to validate ideas and fail more faster.

Popular chat platforms like Messenger, Slack, Skype etc. have happily (in the sense officially) provided APIs for bots to interact with, but WhatsApp has not yet provided any API.

However, since many years, a lot of activities has happened around this – struggle towards automated interaction with WhatsApp platform:

  1. Bots App Bots App is interesting because it shows that something is really tried and tested.

  2. Yowsup A project still actively developed to interact with WhatsApp platform.

  3. Yallagenie Yallagenie claim that there is a demo bot which can be interacted with at +971 56 112 6652

  4. Hubtype Hubtype is working towards having a bot platform for WhatsApp for business.

  5. Fred Fred’s task was to automate WhatsApp conversations, however since it was not officially supported by WhatsApp – it was shut down.

  6. Oye Gennie A bot blocked by WhatsApp.

  7. App/Website to WhatsApp We can use custom URL schemes and Android intent system to interact with WhatsApp but still NOT WhatsApp API.

  8. Chat API daemon Probably created by inspecting the API calls in WhatsApp web version. NOT affiliated with WhatsApp.

  9. WhatsBot Deactivated WhatsApp bot. Created during a hackathon.

  10. No API claim WhatsApp co-founder clearly stated this in a conference that they did not had any plans for APIs for WhatsApp.

  11. Bot Ware They probably are expecting WhatsApp to release their APIs for chat bot platforms.

  12. Vixi They seems to be talking about how some platform which probably would work for WhatsApp. There is no clarity as such.

  13. Unofficial API This API can shut off any time.

    And the number goes on…


回答 2

Yowsup提供了最佳的解决方案示例。您可以从https://github.com/tgalal/yowsup下载api,如果有任何问题,告诉我。

Yowsup provide best solution with example.you can download api from https://github.com/tgalal/yowsup let me know if you have any issue.


回答 3

WhatsApp Inc.不提供开放的API,但由GitHub上的Venomous团队在GitHub上提供了反向工程库。但是据我所知,这在PHP中成为可能。您可以在此处查看链接:https : //github.com/venomous0x/WhatsAPI

希望这可以帮助

WhatsApp Inc. does not provide an open API but a reverse-engineered library is made available on GitHub by the team Venomous on the GitHub. This however according to my knowledge is made possible in PHP. You can check the link here: https://github.com/venomous0x/WhatsAPI

Hope this helps


回答 4

这是Open WhatsApp官方页面的开发人员页面:http : //openwhatsapp.org/develop/

您可以在那里找到有关Yowsup的很多信息。

或者,您可以直接访问库的链接(无论如何我都是从Open WhatsApp页面复制的):https : //github.com/tgalal/yowsup

请享用!

This is the developers page of the Open WhatsApp official page: http://openwhatsapp.org/develop/

You can find a lot of information there about Yowsup.

Or, you can just go the the library’s link (which I copied from the Open WhatsApp page anyway): https://github.com/tgalal/yowsup

Enjoy!