[wordpress插件] Civic Social Feeds公民社交

wordpress 插件 文章 2020-03-24 00:30 474 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Twitter

Twitter

Admin Panel Data

管理面板数据

    • Consumer Key
    • 消费者密钥

    • Consumer Secrer
    • 消费者安全

    • Username
    • 用户名

    • Number of tweets
    • 推文数量

    Instagram

    Instagram

    Admin Panel Data

    管理面板数据

      • User ID (can get it in source HTML of the Instagram profile)
      • 用户ID(可以在Instagram个人资料的源HTML中获取它)

      • User Token
      • 用户令牌

      • Number of photos (optional) – &count=
      • 照片数量(可选)–&count =

      • URL https://api.instagram.com/v1/users/${userID}/mediaecent?access_token=${userToken}
      • URL https://api.instagram.com/v1/users/$ {userID} / media / recent?access_token = $ {userToken}

      Facebook

      Facebook

      Admin Panel Data

      管理面板数据

        • Page ID or Page Name
        • 页面ID或页面名称

        • 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

        • URL 'https://graph.facebook.com/$ {pageID}?fields = id,名称,Feed {完整图片,类型,消息,描述,链接,状态类型,created_time}&access_token = $ {pageAccessToken

          }

        • }

        Get Facebook Page Access Token

        获取Facebook页面访问令牌

          • Create App https://developers.facebook.com/
          • 创建应用程序 https://developers.facebook.com/

          • You need to have admin priviledge on Facebook Page + developer priviledge on Facebook App
          • 您需要在Facebook Page上具有管理员权限+在Facebook App上具有开发人员权限

          • Add App Domain (website URL to Facebook App – Settings – Basic)
          • 添加应用程序域(Facebook应用程序的网站URL –设置–基本)

          • Get User Access Token "https://graph.facebook.com/oauth/access_token

          • 获取用户访问令牌” https://graph.facebook.com/oauth/access_token

            ?client_id=your-app-id

            ?client_id =您的应用程序ID

            &client_secret=your-app-secret

            &client_secret =您的应用程序秘密

            &grant_type=client_credentials" (get app id and secret from Facebook App)

            &grant_type = client_credentials” (从Facebook应用获取应用ID和机密)

              • 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

              • 在此URL https://graph.facebook.com/me/accounts?access_token=user-access-token 上使用用户访问令牌以获取此人管理的页面列表,包括

                name of page, page id and page access token

              • 页面名称,页面ID和页面访问令牌

            Currently supported social networks

            当前支持的社交网络

              • Twitter
              • Twitter

              • Facebook
              • Facebook

              • Instagram
              • Instagram

安装步骤

    1. Upload civic-social-feeds folder to the /wp-content/plugins/ directory
    2. civic-social-feeds 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/civic-social-feeds.1.0.0.zip
-EOF-

AI助手支持GPT4.0