Warning: file_get_contents(https://api.gnavi.co.jp/RestSearchAPI/v3/?keyid=2899cd69181d8c60ded7cc74e8ad1084&id=geep160&coordinates_mode=2): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 380
Warning: Attempt to read property "rest" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 385
Warning: Trying to access array offset on value of type null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 385
Warning: Attempt to read property "id" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 404
Warning: Attempt to read property "update_date" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 405
Warning: Attempt to read property "name" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 406
Warning: Attempt to read property "name_kana" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 407
Warning: Attempt to read property "latitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 409
Warning: Attempt to read property "longitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 410
Warning: Attempt to read property "category" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 412
Warning: Attempt to read property "url" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 414
Warning: Attempt to read property "coupon_url" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 415
Warning: Attempt to read property "pc" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 415
Warning: Attempt to read property "image_url" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 417
Warning: Attempt to read property "shop_image1" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 417
Warning: Attempt to read property "image_url" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 418
Warning: Attempt to read property "shop_image2" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 418
Warning: Attempt to read property "image_url" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 419
Warning: Attempt to read property "qrcode" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 419
Warning: Attempt to read property "address" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 422
Warning: Attempt to read property "tel" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 423
Warning: Attempt to read property "opentime" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 425
Warning: Attempt to read property "holiday" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 426
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 428
Warning: Attempt to read property "line" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 428
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 428
Warning: Attempt to read property "station" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 428
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "line" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "station" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "station_exit" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "walk" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "access" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "note" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 429
Warning: Attempt to read property "budget" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 431
Warning: Attempt to read property "party" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 432
Warning: Attempt to read property "lunch" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 433
Warning: Attempt to read property "pr" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 436
Warning: Attempt to read property "pr_short" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 436
Warning: Attempt to read property "pr" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 437
Warning: Attempt to read property "pr_long" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 437
Warning: Attempt to read property "name" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 443
Warning: Attempt to read property "latitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 443
Warning: Attempt to read property "longitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 443
Warning: Attempt to read property "latitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 449
Warning: Attempt to read property "longitude" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 449
Warning: Attempt to read property "id" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 451
Warning: Attempt to read property "name" on null in /home/xs260299/musilog.net/public_html/wp-content/plugins/lockets/lockets_func.php on line 452
Locketsプラグインでぐるなびのお店情報を利用するにはぐるなびWebサービスへの登録が必要です。
ぐるなびのお店情報を引っ張ってくるにはぐるなびWebサービスへの登録が必要だ!
というわけで、早速登録しましょう。
- 右上の「新規アカウント発行」をクリックして必要項目に入力していきます。
- 確認画面が表示され、そのまま進むと「新規アカウント発行 仮登録完了/メール送信」と表示され、メールが送信されるので、メールのリンクをクリックします。
- すると「新規アカウント発行 登録完了」と表示されるので、メールで
ぐるなびWebサービスのユーザー登録が完了しました。アクセスキーは
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
になります。と届くので、そのアクセスキーをメモ(コピー)します。
- Locketsのプラグイン管理画面の「ぐるなびWebサービス」の「ぐるなびアクセスキー」に先ほどのAPIキーを入れて一番下の「変更を保存」ボタンを押します
※テンプレートには未記入で結構です。
使ってみる
それではテストで下記ページのリンクを貼るという想定でやってみたいと思います。
はま寿司 港北インター店(センター北・南/回転寿司) – ぐるなび
- ぐるなびは、URLからですべてを確認出来ないので、下記管理画面からあらかじめ店舗を検索してお店のIDを調べておきます。
「Lockets」→「暫定ぐるなび検索」→「ぐるなび店舗名」
今回は「はま寿司 港北」と入れて検索してみます。店名 ID はま寿司 港北インター店 geep160 と表示されるのでお店IDが「geep160」ということがわかります。
- 投稿画面から「Lockets」ボタンを押します
- 開いたLockets専用入力画面のぐるなびの部分に先ほどコピーした「geep160」を入力
- ショートコードが挿入される
[LocketsGurunavi shopid="geep160"] - ブログ記事を仕上げる(書いている途中でお店情報を入れたい場所で上記の手順でショートコードを入れて頂いても大丈夫です)
- ブログ記事を公開する
といった感じでホットペッパーとほぼ同様の手順で使うことが出来ます。
↓↓↓↓↓ こんな感じで表示されます。 ↓↓↓↓↓
住所 | |
最寄り駅 | |
営業時間 | |
休業日 |
↑↑↑↑↑ ここまで ↑↑↑↑↑
ご参考:ぐるなびはバリューコマースのオートMyLinkに対応していない
参考までですが、ぐるなびはバリューコマースのオートMyLinkには対応指定ないので、自動的にアフィリエイトリンクになることはありません。通常のバナーなどを追加で貼るとかしておくと良いかも知れませんね。
アフィリエイトありきであればホットペッパー中心でリンクを作成するのも良いかも知れませんが、ホットペッパーに無いお店がぐるなびに豊富にあるので、そんなときはぜひLocketsプラグインでぐるなびのリンクもを貼ってみましょう。