2017-04-09 83 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

兩個氣泡。首先是形象,第二是廣告。

相關問題