2017-04-09 85 views

回答

0

你必须发送图像的附件,而不是一个通用模板,像这样:

curl -X POST -H "Content-Type: application/json" -d '{ 
    "recipient":{ 
    "id":"USER_ID" 
    }, 
    "message":{ 
    "attachment":{ 
     "type":"image", 
     "payload":{ 
     "url":"https://petersapparel.com/img/shirt.png" 
     } 
    } 
    } 
}' "https://graph.facebook.com/v2.6/me/messages?access_token=PAGE_ACCESS_TOKEN" 

看看这个页面:https://developers.facebook.com/docs/messenger-platform/send-api-reference/image-attachment

+0

我这样做没问题,问题是我需要在GIF的底部显示'Powered by GIPHY'横幅,这是不可能的,没有卡片/泡泡.... –

+0

没有广告,问题解决了! :d – sotirelisc

0

两个气泡。首先是形象,第二是广告。

相关问题