How to create your own Wechaty Puppet Service Token with the Web Protocol #1986
Replies: 7 comments 2 replies
-
@wechaty/python @wechaty/java @wechaty/go @wechaty/scala Please take some time to read this post so that we can all understand how to build a token by ourselves. Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your info! 07:39:56 VERB Io initWebSocket() |
Beta Was this translation helpful? Give feedback.
-
Hello Huan, Thanks a lot for the instructions here. Does your program support puppet_padplus instead of puppet_puppeteer since web interface has been effectively closed by Tencent? Zhao |
Beta Was this translation helpful? Give feedback.
-
@z1045 You are welcome. Of course our program support puppet_padplus (and all other protocols). Please refer to #1985 as I mentioned in the post.
|
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Is there a chance that BOT and service can run in the same container like this.
|
Beta Was this translation helpful? Give feedback.
-
我用https://api.chatie.io/v0/hosties/3f37e1a5-ca4f-4f61-b6ba-25e8a019d1c1测试了我的令牌,得到了 json 数据: 代码如下: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Update Mar 29, 2021
We have updated our official documentation at https://wechaty.js.org/docs/puppet-services/diy for how to create a token gateway server by yourself.
⬆️ Please read the above documentation before you continue reading the following information
Since we have our branding new Multi-lang Wechaty ready to use from this week, it would be great for our Python, Java, and Go developers to have a try with them!
All of the above gettings started repos will be able to run out-of-the-box. However, they will all need a TOKEN for wechaty-puppet-hostie.
How to get this Hostie Token?
Requirements
A server with:
That's all you need!
Usage
1 Pull the latest Wechaty Docker Image
2 Select a random string as your
wechaty-puppet-hostie
token3 Start your Wechaty Puppet Service Provider Server:
Notice:
WECHATY_HOSTIE_PORT
must be accessible on the internet.4 That's it, you are set!
Your token is ready to use by Python, Java, and Go Wechaty!
Link to: #1927
Use Your Wechaty Token
From any computer, you can run the following command to use your token:
Trouble Shooting
1 How to confirm that my hostie token is working?
Answer: Visit our RESTFUL API at https://api.chatie.io/v0/hosties/TOKEN, where
TOKEN
is your token:The following is an example for INVALID token:
Please check your token before you using it with Python, Java, and Go Wechaty.
Update:
has been renamed tozixia/wechaty
wechaty/wechaty
Please use the
wechaty/wechaty
docker image name after Aug 2020.Resources
The toke is provided from our Wechaty community Puppet Service Providers.
Learn more about how to get a token from the Puppet Service Providers at our website: Wechaty Puppet Services
Beta Was this translation helpful? Give feedback.
All reactions