Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Options::get is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-view.php on line 131
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-options.php on line 48
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::sns_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 218
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 206
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::get_current_url is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 219
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::notification_list is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/class-module-shortcode.php on line 251
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::default_options is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 232
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Variable::settings is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 188
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 129
Deprecated: Calling static trait method VASOCIALBUZZ\Modules\Functions::exists_push7 is deprecated, it should only be called on a class using the trait in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/plugins/va-social-buzz/incs/trait-variables.php on line 235
OGP、Open Graph Protocol、要はページのメタ情報をまとめる指定のことなんですが、おもったより色々あるので備忘録的にメモ。
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4923
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/freesim.tokyo/httpdocs/wp-content/themes/simplicity2/lib/customizer.php on line 4929
facebookのOGPメモ
facebookのOGP指定は基本こんな感じです。
| 指定 | 指定内容 | 指定パラメータ | 必須 | 説明 |
| og:type | ページタイトル | – | yes | ページのタイトルを指定します。長さの制限はありませんが、facebookのPC表示ではx文字、スマホ表示ではx文字以降は省略されます。 |
| og:title | ページタイプ | website,blog,article | yes | ページのタイプの指定です。基本的にトップページにwebsite、ブログであればblogを指定し、それ以外のページはarticleを指定します。 |
| og:url | ページURL | – | yes | ページのURLを指定します。OGP出力をコントロール出来るのであれば、トラッキングパラメータなどが付かないようにすると良いでしょう。 |
| og:image | ページサムネイル | no | ||
| og:description | ページ概要 | – | no | ページの説明を記載します。 |
そしてOGPではないのですが、facebookとの連携をするなどで以下の独自パラメータがあります。
| fb:app_id | facebookアプリのID | yes | ||
| fb:pages | facebookページのID | no | facebookのインスタント記事(instant article)公開の際に必要なパラメータです。 | |
| article:publisher | facebookページのURL | no | 指定したページとfacebookページとを紐付けたい時に指定します。facebookページに「いいね!」をしていないユーザーのタイムラインにこのページが表示された時にfacebookページへの「いいね!」ボタンが表示されます。facebookの個人ページも指定可能。 |
そしてfacebookに買収されたinstagramのページには別の独自ogpが結構ありました。
| og:site_name | サイト名 | – | no | サイト名を指定できます。 |
| og:type | ページタイプ | instapp:photo | no | instagram専用のog:type? |
| al:ios:app_name | iOS向けアプリ名 | iOS向けのアプリ名の指定 | ||
| al:ios:app_store_id | iOS向けアプリID | |||
| al:ios:url | iOS向けアプリURL | AppleのAppStoreのアプリ紹介URL | ||
| al:android:app_name | android向けアプリ名 | android向けのアプリ名の指定 | ||
| al:android:app_store_id | android向けアプリID | |||
| al:android:url | android向けアプリURL | |||
| instapp:owner_user_id | instagramアカウントのuser_id | |||
| instapp:hashtags | ハッシュタグ | 投稿に含まれるハッシュタグ。複数書くことが可能。 |
大本のOGPのサイトはこちら。
