{"id":29293041,"url":"https://github.com/ko31/linebot","last_synced_at":"2025-08-29T21:39:27.779Z","repository":{"id":144885553,"uuid":"55992268","full_name":"ko31/LineBot","owner":"ko31","description":"LINE BOT APIで作った画像検索ボットくん","archived":false,"fork":false,"pushed_at":"2016-11-12T05:41:54.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-06T10:12:08.752Z","etag":null,"topics":["bot-api","linebot"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ko31.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-04-11T17:19:53.000Z","updated_at":"2017-07-07T15:18:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"6134b638-8ede-4a42-8f94-56d1bc5c511c","html_url":"https://github.com/ko31/LineBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ko31/LineBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2FLineBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2FLineBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2FLineBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2FLineBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ko31","download_url":"https://codeload.github.com/ko31/LineBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ko31%2FLineBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272766943,"owners_count":24989408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot-api","linebot"],"created_at":"2025-07-06T10:12:06.236Z","updated_at":"2025-08-29T21:39:27.770Z","avatar_url":"https://github.com/ko31.png","language":"PHP","readme":"# LineBot\n\nLINE BOT API で作った画像検索ボットくん\n\n## 機能\n\n- コールバックに送られたメッセージをテキスト送信する（フォーマット指定可）\n- コールバックに送られたメッセージを検索して取得した画像を送信する（Bing Search APIアカウントキー必要）\n\n## 使い方\n\n```\n\u003c?php\nrequire_once('LineBot.php');\n\n// LINE:チャンネルID\n$CHANNEL_ID = '[LINEのチャンネルID]';\n// LINE:チャンネルシークレット\n$CHANNEL_SECRET = '[LINEのチェンネルシークレット';\n// LINE:MID\n$CHANNEL_MID = '[LINEのMID]';\n\n// Bingアカウントキー\n$ACCOUNT_KEY = '[Bing Search APIのアカウントキー]';\n\n$bot = new LineBot($CHANNEL_ID, $CHANNEL_SECRET, $CHANNEL_MID);\n\n// テキスト送信\n$bot-\u003esendText('「%s」デスネ...');\n\n// 画像送信\n$bot-\u003esendImage($ACCOUNT_KEY);\n\n```\n\n## 参考URL\n\n* [LINE BOT APIを使ってPHPで画像検索BOT作ってみました | rui live note](http://blog.ko31.com/201604/line-bot-api-php/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fko31%2Flinebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fko31%2Flinebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fko31%2Flinebot/lists"}