內容簡介
這個外掛基於「WP Favorite Posts」,並擴展了 JSON API,提供給手機應用程式存取。
這個外掛提供了三個方法:
wpfp/add
postid:必填
cookie:選填
wpfp/remove
postid:必填
cookie:選填
wpfp/lists
cookie:選填
cookie 參數與「JSON API USER」外掛相同。
這些方法支援未登入的使用者,只要客戶端可以接收和傳送 cookies。
原始碼可於以下網址找到:https://github.com/avrilmaomao/wp-favorite-posts-extended
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin is based on “WP Favorite Posts”,and extends json api to provide access for mobile apps.
Three methods are provided:
wpfp/add
postid: required
cookie: optional
wpfp/remove
postid:required
cookie:optional
wpfp/lists
cookie :optional
The cookie param is the same as “JSON API USER” plugin used.
These methods support users not logged,if the client side can receive and send cookies.
code can be found at: https://github.com/avrilmaomao/wp-favorite-posts-extended
