python - Graph Api Webhook Instagram 评论
问题描述
我尝试将 Instagram 集成到我的网络应用程序中。我需要通过媒体中的每条评论/回复接收 webhook。但我无法识别 webhook 评论父 ID,因为 webhook 响应不包含此类信息。有什么办法可以找到这个。我正在使用图形 API 6.0 版
Instagram Webhook Dummy 响应评论
[
{ 'id': '123xxxxx', # account Id
'time': 1588854464,
'changes':
[
{'value':
{
'id': '345xxx', # comment/ reply Id
'text': 'hello world'
},
'field': 'comments'
}
]
}
]
解决方案
推荐阅读
- c# - pgp 解密失败,因为来自 BlobClient.OpenReadAsync() 的输入流不可搜索
- flutter - 使用signInWithCredential在谷歌登录后获取uid
- python - 循环遍历给定的索引并使用动态名称保存文件
- python - Telegram Python 机器人将媒体作为视频上传
- ruby - 函数在 if 语句之前停止
- laravel - 如何更正我的 vuejs 模板中的导入计算
- wordpress - 如何在 AWS lightail 上恢复丢失的 WordPress 管理员权限
- python - Django Admin 更改/修改内联文本“添加另一个”
- reactjs - 从 Firebase 存储调用图像 - 无效的钩子调用。Hooks 只能在函数组件的主体内部调用
- flutter - 在颤动中将 html 小部件共享给其他 Android 应用程序