From d1142af0f0856afe5982deacab8bdfccac6736ad Mon Sep 17 00:00:00 2001 From: Eugene K Date: Fri, 24 Feb 2017 21:45:45 +0300 Subject: [PATCH] fix: entry.id is a string, not an numeric value --- receive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receive.go b/receive.go index a8ed131..7b31813 100644 --- a/receive.go +++ b/receive.go @@ -10,7 +10,7 @@ type Response struct { // This defines an Entry in the payload by webhook type Entry struct { - PageID int64 `json:"id"` + PageID string `json:"id"` Time int64 `json:"time"` Messaging []Callback `json:"messaging"` }