This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "index" : { "_index" : "person", "_type" : "default" } } | |
{"name":"\u3084\u307e\u3060\u592a\u90ce"} | |
{ "index" : { "_index" : "person", "_type" : "default" } } | |
{"name":"\u30e4\u30de\u30c0\u592a\u90ce"} | |
{ "index" : { "_index" : "person", "_type" : "default" } } | |
{"name":"\uff94\uff8f\uff80\uff9e\u592a\u90ce"} | |
{ "index" : { "_index" : "person", "_type" : "default" } } | |
{"name":"\u5c71\u7530\u592a\u90ce"} | |
{ "index" : { "_index" : "person", "_type" : "default" } } | |
{"name":"yamada taro"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$access_token = "[ACCESS TOKEN]"; | |
// メッセージ受信 | |
$json_string = file_get_contents('php://input'); | |
$json_object = json_decode($json_string); | |
$from_user_id =$json_object->entry{0}->messaging{0}->sender->id; | |
$post = <<< EOM | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
error_log("callback start."); | |
// アカウント情報設定 | |
$channel_id = "[チャンネルID]"; | |
$channel_secret = "[チャンネルシークレット]"; | |
$mid = "[MID]"; | |
// リソースURL設定 | |
$original_content_url_for_image = "[画像URL]"; |