TwitterTimelineプラグインについて のバックアップ(No.1)


2018年5月28日よりTwitterウィジェッドの仕様が変更されました。
Twitterプラグインは今後はこちらをご利用下さい。

概要

Twitterの特定ユーザーのタイムラインを表示します。
(Twitter公式の仕様変更により、検索結果の埋込表示は出来なくなりました)

使い方

書式は以下のようになります。

インライン

&twitter_timeline(各種パラメータ);

ブロック

#twitter_timeline(各種パラメータ);

パラメータについて

パラメーター説明
screen_nameTwitterでユーザーを表す英数字、@に続く部分。必須screen_name=aiueo1234
width横幅 [px]。width=520
height高さ [px]。height=600
data-link-colorツイート内のリンクの色を16進カラーコードで指定します。data-link-color=#66ABFF

引数省略時

  1. screen_name:必須です。
  2. width:520
  3. height:600
  4. data-link-color:#66ABFF

&twitter_timeline(screen_name=aiueo1234);
&twitter_timeline(screen_name=aiueo1234,height=700);