红花赞:视频号点赞数据回传接口

使用场景:红花赞视频号活动,点赞后回调接口向公益平台同步点赞与配捐等数据

调用凭证: 应用签名

请求地址: https://test-oapi.gongyi.qq.com/api/gy_wx_channel_like/WxChannelLike

请求方法: POST ( HTTPS

请求参数: 备注: gy_uid + feed_export_id + flow_id 唯一

参数名 类型 必填 说明
gy_uid string 点赞用户的公益平台微信 openid
feed_export_id string 视频的 feed_export_id
flow_id string 流水 id
event_export_id string 视频的 event_export_id
like_type int32 类型:-1:取消赞/1:点赞
timestamp int64 点赞时间(毫秒时间戳)
have_donated bool 是否有配捐:0:无配捐/1:有配捐
money uint32 配捐金额(单位:分)

返回参数:

参数 类型 说明
code int 返回码:0表示成功,其他值表示错误,请参考错误码说明
msg string 错误信息

红花赞:查询视频号活动是否属于红花赞

使用场景:红花赞视频号活动,查询视频号活动是否属于红花赞,用于活动设置红花赞后回调

调用凭证: 应用签名

请求地址: https://test-oapi.gongyi.qq.com/api/gy_wx_channel_like/QueryEventExportId

请求方法: POST ( HTTPS

请求参数:

参数名 类型 必填 说明
event_export_ids [ ]string 视频号event_export_id列表

返回参数:

参数 类型 说明
code int 返回码:0表示成功,其他值表示错误,请参考错误码说明
msg string 错误信息
data object 接口返回数据
data.xhh_event_export_ids [ ]string 视频号红花赞event_export_id列表
  • 请求示例
    {
      "code": 0,
      "data": {
          "xhh_event_export_ids": ["event/UzFfxxxx"]
      },
      "msg": "",
      "op_time": 1723550013,
      "trace_id": "20c121999f90c2b14ae4241ce562a043"
    }
    
© 1998 - 2022 Tencent Inc. all right reserved,powered by tencent.更新时间: 2024-12-06 17:19:07

results matching ""

    No results matching ""

    results matching ""

      No results matching ""