TwitterTimelineプラグインについて の変更点

Top > TwitterTimelineプラグインについて

※2018年5月28日よりTwitterウィジェットの仕様が変更されました。
※旧Twitterプラグインは、TwitterAPIの仕様変更に伴い動作しなくなりましたので代わりに導入しました。今後はこちらをご利用下さい。

*概要 [#e38a5f81]
Twitterの特定ユーザーのタイムラインを表示します。
(Twitter側での仕様変更により、検索結果の埋込表示は出来なくなりました)

*使い方 [#u8a5cf51]

書式は以下のようになります。~
インライン
 &twitter_timeline(screen_name=aiueo1234);
 &twitter_timeline(各種パラメータ);
ブロック
 #twitter_timeline(screen_name=aiueo1234);
 #twitter_timeline(各種パラメータ);

*パラメータについて [#z1be74cd]
|BGCOLOR(#9f9f9f):|BGCOLOR(#9f9f9f):|BGCOLOR(#9f9f9f):|c
|パラメーター|説明|例|
|BGCOLOR(white):|BGCOLOR(white):|BGCOLOR(white):|c
|screen_name|Twitterでユーザーを表す英数字、@に続く部分。必須|screen_name=aiueo1234|
|width|横幅 [px]。|width=520|
|height|高さ [px]。|height=600|
|data-link-color|ツイート内のリンクの色を16進カラーコードで指定します。|data-link-color=#66ABFF|

''引数省略時''
+screen_name:&color(Red){必須};です。
+width:520
+height:600
+data-link-color:#66ABFF

*例 [#rffc2f03]
 &twitter_timeline(screen_name=aiueo1234);
 &twitter_timeline(screen_name=aiueo1234,height=700);
 &twitter_timeline(screen_name=whitehouse);
 &twitter_timeline(screen_name=whitehouse,height=700);

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