Fix Facebook Plugin J

Fix Facebook Plugin J 設定画面

Fix Facebook Plugin J とは

WordPress のプラグインで、Facebook for WordPress version 1.0.2 のOGP出力を書き換えます。
Facebook for WordPress プラグインが有効でないと正常に機能しません。

Facebook for WordPress のダウンロードページ

このプラグインの機能

  1. <meta property=”http://ogp.me/ns#locale” content=”xxx” /> を書き換え、
    <meta property=”http://ogp.me/ns#locale” content=”ja_JP” /> にします。

    本家のプラグインが対応したので機能を削除 (0.0.2)
  2. <meta property=”http://ogp.me/ns#image” content=”xxx” /> xxx を書き換えます。

    1. 個別記事ページ、固定ページの時
      アイキャッチ画像が存在すればアイキャッチ画像のURLに書き換え、無ければ、添付画像のURLに書き換えます。
      画像ギャラリーの時は、1枚目のURLに書き換えます。(0.0.2)
      どちらも存在しないときは、設定画面で設定したデフォルト画像のURLに書き換えます。
    2. 個別記事ページ、固定ページ以外の時
      設定画面で設定したデフォルト画像のURLに書き換えます。
  3. <meta property=”http://ogp.me/ns#image:width” content=”xxx” />
    <meta property=”http://ogp.me/ns#image:height” content=”xxx” /> を書き換えます。
    2 で書き換えたURLの画像の、画像サイズに書き換えます。
  4. <meta property=”http://ogp.me/ns/article#published_time” content=”xxx” />
    <meta property=”http://ogp.me/ns/article#modified_time” content=”xxx” /> を書き換えます。
    +00:00 を +0900 に書き換えます。
    設定画面で設定したタイムゾーンに合わせて書き換えます。(0.0.2)

動作環境

Facebook プラグイン バージョン 1.0.2 1.1.10
Wordpress バージョン 3.4.1 3.5
PHP バージョン 5.3.3

注意事項

上記環境で確認しておりますが、個別の環境により正常に動作しない場合があります。
また、正常に動作しても、上記のOGP出力の書き換えだけ行なっていますので、Facebook for WordPress プラグインの他の問題(例えば、タイムラインに表示出来ないなど)は解決しません。

インストール方法

他のプラグインと同様の方法でインストール、有効化して下さい。

設定方法

管理画面左メニューの、設定 > Fix Facebook Plugin J をクリックして設定画面を開いて設定して下さい。
設定画面は、このページの最初の画像になります。
default image url : デフォルト画像のURLを設定します。
image size : 添付画像やアイキャッチ画像のOGPでの画像サイズを設定します。
time zone : タイムゾーンを設定します。(例:Asia/Tokyo) タイムゾーン一覧
※ 0.0.2 で、time zone の設定追加

ライセンス

このプラグインは、GPL v2 ライセンスです。

Copyright (C) 2012 D&D Company

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

免責事項

このプラグインの使用により発生する如何なる損害も補償できません。

ダウンロード

無料。

“Fix Facebook Plugin J” をダウンロード fix-facebook-plugin-j.0.0.2.zip – 500 回のダウンロード – 4 KB

過去のバージョン

“Fix Facebook Plugin J” をダウンロード fix-facebook-plugin-j_0.0.1..zip – 237 回のダウンロード – 4 KB

2 個のコメント

  1. sei2
    Posted 2012年12月21日 at 8:44 PM | Permalink

    Facebook 公式プラグイン Ver. 1.1.10 に対応しました。

  2. sei2
    Posted 2013年1月16日 at 2:40 PM | Permalink

    Facebook 公式プラグイン Ver. 1.1.11 でも動作確認しました。(自己環境での確認)
    Ver. 1.1.11 で、Ver. 1.1.10 ではエラーで出来なかった、自分のタイムラインへのポストができるようになりました。

One Trackback

sei2 へ返信する コメントをキャンセル

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください