Integrate the data from Google Analytics API and Facebook API to cnYes CMS by MapReduce in Laravel Framework.
在 Laravel 框架中, 串接 Google Analytics API 和 Facebook API 的數據
並以 MapReduce 解決中間發生的資料不正確與效能瓶頸問題
5. What is firebase cloud messaging?
整合好的推播機制: Web / iOS / Android
以前叫做 GCM (Google Cloud Messaging)
Firebase Cloud Messaging (FCM) is the new version of GCM. It inherits the
reliable and scalable GCM infrastructure, plus new features! See the FAQ to learn
more. If you are integrating messaging in a new app, start with FCM. GCM users
are strongly recommended to upgrade to FCM, in order to benefit from new FCM
features today and in the future.
“
5
23. RESTful API ?
POST https://iid.googleapis.com/iid/v1/ IID_TOKEN /rel/topics/ TOPIC_NAME
GET https://iid.googleapis.com/iid/info/IID_TOKEN
HTTP Method: 用 POST 建立 資料, 用 GET 取得資料
Resource Name: 資源都是名詞, 且有分層關係, 但是 POST 有版本而 GET
沒有
Response Payload: 成功時的格式不一致
23
26. RESTful API ?
POST https://iid.googleapis.com/iid/v1/ IID_TOKEN /rel/topics/ TOPIC_NAME
GET https://iid.googleapis.com/iid/info/IID_TOKEN
HTTP Method: 用 POST 建立 資料, 用 GET 取得資料
Resource Name: 資源都是名詞, 且有分層關係, 但是 POST 有版本而 GET
沒有
Response Payload: 成功時的格式不一致, 失敗時有時是 HTML 有時是
Json, 格式也不一致
26
30. RESTful API ?
POST https://iid.googleapis.com/iid/v1/ IID_TOKEN /rel/topics/ TOPIC_NAME
GET https://iid.googleapis.com/iid/info/IID_TOKEN
HTTP Method: 用 POST 建立 資料, 用 GET 取得資料
Resource Name: 資源都是名詞, 且有分層關係, 但是 POST 有版本而 GET
沒有
Response Payload: 成功時的格式不一致, 但失敗時是 HTML 格式是一致
的
HTTP Status Code:
30