[WordPress] 外掛分享: WP-jTweets

首頁外掛目錄 › WP-jTweets
WordPress 外掛 WP-jTweets 的封面圖片
10+
安裝啟用
尚無評分
1847 天前
最後更新
問題解決
WordPress 3.2+ v1.1.5 上架:2011-10-22

內容簡介

這個小工具使用 jQuery(如果您想要的話)和 Twitter,淡入顯示使用者的推文,然後逐一淡出直到淡入下一條。您可以設置推文的數量以及每條推文顯示的時間。推文是無限循環的。它只使用隨 WP 附帶的 jQuery 库。雖然它很簡單,但如果您了解 CSS,可以讓它看起來非常漂亮。

Twitter API 1.1 金鑰和令牌

現在您需要前往 Twitter 的開發部分 創建一個“應用程式”。請不要害怕。這只需 5 分鐘。最難的部分是創建後複製並粘貼金鑰。

前往此處以您的 Twitter 帳戶登錄:https://dev.twitter.com/apps/
點擊 “創建新應用程式”
給它一個名稱,例如“WP-Jweets for YourDomainName”
給它一個說明,例如“這是我顯示我的推文的方式”
“網站”欄位可以是推文顯示在其中的網域名稱
“回調 URL”可以保留空白
同意協議
接下來,點擊“創建我的存取令牌”
創建您的令牌,您將需要以下信息:消費金鑰、消費密鑰、存取令牌和存取令牌密鑰

服務器

您的服務器必須啟用 cURL,Twitter OAuth 库需要使用此功能。(感謝 https://github.com/abraham/twitteroauth)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP-jTweets」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

A Widget that uses jQuery (if you want) and Twitter to fade in and display a user’s tweets one at a time, then fades into the next. You can set the amount of tweets and how long they stay before they fade into the next tweet. The tweets are in an infinite loop. It only uses the jQuery library that comes with WP. It is simple, but if you know CSS you can make it look very very nice.
Twitter API 1.1 Keys and Tokens
You now have to go to Twitter’s Dev Section and create an “app”. Please don’t be terrified by this. It takes 5 minutes. The hardest part is copying and pasting the keys once they are created 🙂

Go here and login with your Twitter account: https://dev.twitter.com/apps/
Click ‘Create New Application’
Give it a name like “WP-Jweets for YourDomainName”
Give it a description like “This is so I can show my tweets”
The “Website” field can be the domain name the tweets are going on
The “Callback URL” can be empty
Accept the agreement
Next, click on “Create My Access Token”
Create your token, you will need the following: Consumer key, Consumer secret, Access token and Access token

Server
Your server must have cURL enabled, it is required by the Twitter OAuth library (Thanks goes out to https://github.com/abraham/twitteroauth)

延伸相關外掛

文章
Filter
Mastodon