內容簡介
管理面板數據
消費者金鑰
消費者密鑰
使用者名稱
推文數量
管理面板數據
頁面 ID 或頁面名稱
頁面存取權杖
URL 'https://graph.facebook.com/${pageID}?fields=id,name,feed{full_picture,type,message,description,link,status_type,created_time}&access_token=${pageAccessToken}
取得 Facebook 頁面存取權杖
建立應用程式 https://developers.facebook.com/
您需要擁有 Facebook 頁面的管理權限和 Facebook 應用程式的開發者權限。
新增應用程式網域 (網站 URL 到 Facebook 應用程式 - 設定 - 基本設定)
取得使用者存取權杖 "https://graph.facebook.com/oauth/access_token
?client_id=your-app-id
&client_secret=your-app-secret
&grant_type=client_credentials"(從 Facebook 應用程式取得 app id 和 secret)
使用使用者存取權杖,嘗試在此網址上 https://graph.facebook.com/me/accounts?access_token=user-access-token 取得一個清單,該清單包含管理員所管理的頁面清單,包括頁面名稱、頁面 ID 和頁面存取權杖
目前支援的社交網路
Twitter
Facebook
** 重要提示:Instagram 新鮮事已被移除,請務必刪除 [civic_social_feeds type=’instagram’] 短碼。
外掛標籤
開發者團隊
原文外掛簡介
Twitter
Admin Panel Data
Consumer Key
Consumer Secrer
Username
Number of tweets
Facebook
Admin Panel Data
Page ID or Page Name
Page Access Token
URL 'https://graph.facebook.com/${pageID}?fields=id,name,feed{full_picture,type,message,description,link,status_type,created_time}&access_token=${pageAccessToken}
Get Facebook Page Access Token
Create App https://developers.facebook.com/
You need to have admin priviledge on Facebook Page + developer priviledge on Facebook App
Add App Domain (website URL to Facebook App – Settings – Basic)
Get User Access Token "https://graph.facebook.com/oauth/access_token
?client_id=your-app-id
&client_secret=your-app-secret
&grant_type=client_credentials" (get app id and secret from Facebook App)
Use User Access Token on this url https://graph.facebook.com/me/accounts?access_token=user-access-token to get a list of pages the person administers, including the name of page, page id and page access token
Currently supported social networks
Twitter
Facebook
** Important Note : Instagram feed has been removed, please don’t forget to remove [civic_social_feeds type=’instagram’] shortcode.
