Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

zhu327/ifwechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ifwechat

①.IFWechat能做什么

IFWechat是一个能把微信连接到IFTTT的微信公众号,如果你还不知道IFTTT是什么,可以看看这里:ifttt 是一个什么样的网站?.
IFTTT = if this then that, IFWechat通过微信公众号实现了IFTTT中this的功能,通过微信发送到IFWechat的消息都会触发用户定义的IFTTT Recipes.

②.绑定微信与IFTTT

1.关注IFWechat微信公众号

qcode

2.生成IFTTT Maker Webhooks key

访问IFTTT Maker Webhooks
IFTTT Maker Webhooks

点击Connect   访问Settings,复制URL后面的key
IFTTT Maker key

3.绑定key到IFWechat微信公众号

bind key

发送 BD+key 绑定.

③.绑定微信与IFTTT

1.发送文本消息

text

IFTTT Recipes示例:https://ifttt.com/p/zhu327/shared

2.发送照片消息

image

先发送图片,然后追加一条文本.

3.发送地理位置

location

4.发送分享链接

link

④.消息格式

上面有一些IFTTT Recipes示例,如果你有更好的创意,那么就需要了解下你发送给IFWechat公众号的消息会在推送给IFTTT的时候的消息格式.

Event Name: text

{
    "value1": "Hello world" // value1为文本内容
}

Event Name: image

{
    "value1": "", // value1为图片地址
    "value2": "Hello world" // value2为文本内容
}

Event Name: location

{
    "value1": "深圳市罗湖区国贸", // value1为地理位置文本
    "value2": "", // value2为纬度
    "value3": "" // value3为经度
}

Event Name: link

{
    "value1": "", // value1为分享链接地址
    "value2": "", // value2为分享标题
    "value3": "" // value3为分享描述
}

About

link wechat to ifttt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages