iOS App Store の最も使えるアプリURLはどれ?

👉 iPhoneアプリ ランキング まとめ【2022】 

iOS App Store の最も使えるアプリURLはどれ?

https://itunes.apple.com/jp/app/id658511662?mt=8
https://apps.apple.com/jp/app/id658511662
https://apps.apple.com/app/id658511662

テスト用に書いて見ましたけど、WEBで見ていくとバラバラですよね?

Redditアプリで試す。

reddit iphone app

https://itunes.apple.com/jp/app/id1064216828

https://itunes.apple.com/app/id1064216828

https://apps.apple.com/jp/app/id1064216828

https://apps.apple.com/app/id1064216828

https://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200

itunes.apple.com はリダイレクトされる。


% curl -sS -I -L https://itunes.apple.com/jp/app/id1064216828

HTTP/2 301
server: 4.0.0
content-type: text/html; charset=UTF-8
content-length: 0
last-modified: Mon, 07 Mar 2022 08:16:33 GMT
access-control-allow-origin: *
strict-transport-security: max-age=31536000; includeSubDomains
location: https://apps.apple.com/jp/app/id1064216828
cache-control: max-age=0
date: Mon, 07 Mar 2022 08:16:33 GMT
...

HTTP/2 200
server: daiquiri/3.0.0
content-type: text/html; charset=utf-8
content-length: 330377
strict-transport-security: max-age=31536000; includeSubDomains
cache-control: public, max-age=60
expires: Mon, 07 Mar 2022 08:17:34 GMT
date: Mon, 07 Mar 2022 08:16:34 GMT
...


% curl -sS -I -L https://itunes.apple.com/app/id1064216828

HTTP/2 301
server: 4.0.0
content-type: text/html; charset=UTF-8
content-length: 0
last-modified: Mon, 07 Mar 2022 08:18:10 GMT
access-control-allow-origin: *
strict-transport-security: max-age=31536000; includeSubDomains
location: https://apps.apple.com/app/id1064216828
cache-control: max-age=0
date: Mon, 07 Mar 2022 08:18:10 GMT
...

HTTP/2 200
server: daiquiri/3.0.0
content-type: text/html; charset=utf-8
content-length: 334515
strict-transport-security: max-age=31536000; includeSubDomains
cache-control: public, max-age=60
expires: Mon, 07 Mar 2022 08:19:11 GMT
date: Mon, 07 Mar 2022 08:18:11 GMT
...

itunes.apple.com は apps.apple.com へ301リダイレクトされる。

昔の名残りか。

2019年06月14日
App Store上のApp用のリンクが、apps.apple.com で始まるように変更されました。itunes.apple.com で始まる既存のリンクは引き続き機能し、自動的に apps.apple.com ドメインにリダイレクトされます。

👉 【Apple公式】 App Storeリンクのアップデート - ニュース - Apple Developer 

公式のツールが公開されていますのでこれでも推奨されるURLを確認しておきます。

Market with App Store
👉 Market with App Store 

考えられるURLをすべて書き出す

Reddit の場合。


% echo {https,itms-apps,itms}://{itunes,apps}.apple.com{,/us,/jp}/app{,/reddit}/id1064216828{,\?itsct=apps_box_link\&itscg=30200} | sed 's/ /\n/g'

https://itunes.apple.com/app/id1064216828
https://itunes.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/app/reddit/id1064216828
https://itunes.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/us/app/id1064216828
https://itunes.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/us/app/reddit/id1064216828
https://itunes.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/jp/app/id1064216828
https://itunes.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/jp/app/reddit/id1064216828
https://itunes.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/app/id1064216828
https://apps.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/app/reddit/id1064216828
https://apps.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/us/app/id1064216828
https://apps.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/us/app/reddit/id1064216828
https://apps.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/jp/app/id1064216828
https://apps.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
https://apps.apple.com/jp/app/reddit/id1064216828
https://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/app/id1064216828
itms-apps://itunes.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/app/reddit/id1064216828
itms-apps://itunes.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/us/app/id1064216828
itms-apps://itunes.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/us/app/reddit/id1064216828
itms-apps://itunes.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/jp/app/id1064216828
itms-apps://itunes.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/jp/app/reddit/id1064216828
itms-apps://itunes.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/app/id1064216828
itms-apps://apps.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/app/reddit/id1064216828
itms-apps://apps.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/us/app/id1064216828
itms-apps://apps.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/us/app/reddit/id1064216828
itms-apps://apps.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/jp/app/id1064216828
itms-apps://apps.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/jp/app/reddit/id1064216828
itms-apps://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/app/id1064216828
itms://itunes.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/app/reddit/id1064216828
itms://itunes.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/us/app/id1064216828
itms://itunes.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/us/app/reddit/id1064216828
itms://itunes.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/jp/app/id1064216828
itms://itunes.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/jp/app/reddit/id1064216828
itms://itunes.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/app/id1064216828
itms://apps.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/app/reddit/id1064216828
itms://apps.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/us/app/id1064216828
itms://apps.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/us/app/reddit/id1064216828
itms://apps.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/jp/app/id1064216828
itms://apps.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/jp/app/reddit/id1064216828
itms://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200

そして、リクエストしてみる。


% echo https://{itunes,apps}.apple.com{,/us,/jp}/app{,/reddit}/id1064216828{,\?itsct=apps_box_link\&itscg=30200} | xargs -t -n1 curl -sSIL | grep -E '^(HTTP|server|content-length|location)'

curl -sSIL https://itunes.apple.com/app/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334513

curl -sSIL https://itunes.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334657

curl -sSIL https://itunes.apple.com/app/reddit/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334534

curl -sSIL https://itunes.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/reddit/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334678

curl -sSIL https://itunes.apple.com/us/app/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334522

curl -sSIL https://itunes.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334396

curl -sSIL https://itunes.apple.com/us/app/reddit/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334543

curl -sSIL https://itunes.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/reddit/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334687

curl -sSIL https://itunes.apple.com/jp/app/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330247

curl -sSIL https://itunes.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330399

curl -sSIL https://itunes.apple.com/jp/app/reddit/id1064216828
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330274

curl -sSIL https://itunes.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/reddit/id1064216828?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330418

curl -sSIL https://apps.apple.com/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334243

curl -sSIL https://apps.apple.com/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334243

curl -sSIL https://apps.apple.com/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334264

curl -sSIL https://apps.apple.com/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 404
server: daiquiri/3.0.0
content-length: 131919

curl -sSIL https://apps.apple.com/us/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 333982

curl -sSIL https://apps.apple.com/us/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334788

curl -sSIL https://apps.apple.com/us/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334543

curl -sSIL https://apps.apple.com/us/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 334543

curl -sSIL https://apps.apple.com/jp/app/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330253

curl -sSIL https://apps.apple.com/jp/app/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 329989

curl -sSIL https://apps.apple.com/jp/app/reddit/id1064216828
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330274

curl -sSIL https://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 330548


% echo https://tools.applemediaservices.com/app/1064216828\?country={,us,jp} |  xargs -t -n1 curl -sSIL | grep -E '^(HTTP|server|content-length|location)'

curl -sSIL https://tools.applemediaservices.com/app/1064216828?country=
HTTP/2 200

curl -sSIL https://tools.applemediaservices.com/app/1064216828?country=us
HTTP/2 200

curl -sSIL https://tools.applemediaservices.com/app/1064216828?country=jp
HTTP/2 200

Redditアプリは、世界のほとんどの言語に対応しており、AppStoreの説明文も各言語で作成されています。

にゃんこ大戦争の場合。


echo {https,itms-apps,itms}://{itunes,apps}.apple.com{,/us,/jp}/app{,/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89}/id547145938{,\?itsct=apps_box_link\&itscg=30200}  | sed 's/ /\n/g'

https://itunes.apple.com/app/id547145938
https://itunes.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/us/app/id547145938
https://itunes.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/jp/app/id547145938
https://itunes.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
https://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/app/id547145938
https://apps.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/us/app/id547145938
https://apps.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/jp/app/id547145938
https://apps.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/app/id547145938
itms-apps://itunes.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/us/app/id547145938
itms-apps://itunes.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/jp/app/id547145938
itms-apps://itunes.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/app/id547145938
itms-apps://apps.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/us/app/id547145938
itms-apps://apps.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/jp/app/id547145938
itms-apps://apps.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
itms-apps://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms-apps://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/app/id547145938
itms://itunes.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/us/app/id547145938
itms://itunes.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/jp/app/id547145938
itms://itunes.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
itms://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/app/id547145938
itms://apps.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/us/app/id547145938
itms://apps.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/jp/app/id547145938
itms://apps.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
itms://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
itms://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200


echo https://{itunes,apps}.apple.com{,/us,/jp}/app{,/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89}/id547145938{,\?itsct=apps_box_link\&itscg=30200} | xargs -t -n1 curl -sSIL | grep -E '^(HTTP|server|content-length|location)'

curl -sSIL https://itunes.apple.com/app/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/us/app/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://itunes.apple.com/jp/app/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/id547145938
HTTP/2 200
server: daiquiri/3.0.0
content-length: 448990

curl -sSIL https://itunes.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 460281

curl -sSIL https://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 200
server: daiquiri/3.0.0
content-length: 449483

curl -sSIL https://itunes.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 301
server: 4.0.0
content-length: 0
location: https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?ign-itscg=30200&ign-itsct=apps_box_link
HTTP/2 200
server: daiquiri/3.0.0
content-length: 451464

curl -sSIL https://apps.apple.com/app/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/us/app/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/us/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/us/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 404
server: daiquiri/3.0.0
content-length: 73701

curl -sSIL https://apps.apple.com/jp/app/id547145938
HTTP/2 200
server: daiquiri/3.0.0
content-length: 449355

curl -sSIL https://apps.apple.com/jp/app/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 448990

curl -sSIL https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938
HTTP/2 200
server: daiquiri/3.0.0
content-length: 449483

curl -sSIL https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200
HTTP/2 200
server: daiquiri/3.0.0
content-length: 449483


echo https://tools.applemediaservices.com/app/547145938\?country={,us,jp} |  xargs -t -n1 curl -sSIL | grep -E '^(HTTP|server|content-length|location)'

curl -sSIL https://tools.applemediaservices.com/app/547145938?country=
HTTP/2 404

curl -sSIL https://tools.applemediaservices.com/app/547145938?country=us
HTTP/2 404

curl -sSIL https://tools.applemediaservices.com/app/547145938?country=jp
HTTP/2 200

にゃんこ大戦争アプリは、日本語のみに対応しており、AppStoreの説明も日本語でしか公開されていません。

まとめ


形式

{scheme}://{host}[/{country}]/app[/{slug}]/id{id}[?{query}]

■ scheme

https : WEBハイパーリンク
itms-apps : AppStoreアプリ
itms : iTuneStoreアプリ

「https」が、一般的にWEBサイト向き。

■ host

itunes.apple.com はすべて apps.apple.com にリダイレクトされるので 「apps.apple.com」

■ county

その国を開発者側が設定していない場合は、404で itms-apps にリダイレクトされる。
省略できるが、日本語サイトであれば「jp」とすべき。

■ slug

省略可。
各社クローラーに向けて使うように指導している。検索結果などがわかりやすく表示されるようになる。

■ id

アプリのID。必須。「id」という文字列に続く数字9桁。

■ query

「?itsct=apps_box_link&itscg=30200」

The ITSCT parameter is a partner-level token for the Apple Services Performance Partners Program. This value is static and should not be changed unless you are a partner who has been provided your own distinct token. If so, you may override the default ITSCT value with your own assigned value.

ITSCTパラメータは、Apple Services Performance Partners Programのパートナーレベルトークンです。この値は静的なもので、独自のトークンを提供されているパートナーでない限り、変更するべきではありません。その場合、デフォルトのITSCTの値を独自の値で上書きすることができます。

ITSCG parameter is a group-level token for the Apple Services Performance Partners Program. This value can never be changed and must always remain the same in your affiliate links.

ITSCGパラメータは、Apple Services Performance Partners Programのグループレベルトークンです。この値は決して変更することができず、アフィリエイトリンクでは常に同じ値である必要があります。

👉 Apple Newsでマーケティング 

以上、使いやすさと公式の説明から、これくらいの形式がいいでしょうかね。日本語サイトに貼るリンクの場合。


https://apps.apple.com/jp/app[/{slug}]/id{id}[?itsct=apps_box_link&itscg=30200]

最初の書き出し例から抜き出すと、Reddit や にゃんこ大戦争 のリンク記述は以下ぐらいがベストかなと。


https://apps.apple.com/jp/app/id1064216828

https://apps.apple.com/jp/app/reddit/id1064216828?itsct=apps_box_link&itscg=30200


https://apps.apple.com/jp/app/id547145938

https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?itsct=apps_box_link&itscg=30200

公式ツールの

Market with App Store 

で、まずは検索することがスタートになるでしょう。

GooglePlayに比べるとアクセスできるパターンが多いのが混乱させます。

👉 Google Play に変わっての、リンクURLはどう書くのがいいのか。 
👉 iPhoneアプリ ランキング まとめ【2022】 


まとも検索 検索オプション追加 のブックマークレット

使ってみると確かに便利です!

👉 「Google検索は死んでいる」がバズったので「まとも検索」を作った。:村上福之の「ネットとケータイと俺様」:オルタナティブ・ブログ 

Google 検索オプションやドメインのおさらいしながら、雑にブックマークレットにしておきます。

まとも検索

通常のGoogle検索の結果表示のあと、ブックマークレットで検索オプションを追加して、結果を絞り込みます。


javascript:(()=>{
  if (location.host == 'www.google.com' && location.pathname == '/search') {
    var params = new URLSearchParams(location.search);
    params.set('q', 'site:ac.jp OR site:go.jp OR site:lg.jp ' + params.get('q'));
    location.search = params.toString();
  }
})()

👉 Googleの検索言語をサクッと切り替えるためのブックマークレット - かみのメモ 

公的期間に限定: ac.jp/lg.jp/go.jp

https://www.google.com/search?q=site%3Aac.jp+OR+site%3Ago.jp+OR+site%3Alg.jp+%E3%82%AA%E3%83%AA%E3%83%B3%E3%83%94%E3%83%83%E3%82%AF

AC.JP
高等教育機関および学校法人などが登録できます。
- 大学、大学校、高等専門学校、大学共同利用機関、障害者職業能力開発校など
- 学校法人、職業訓練法人、国立大学法人、大学共同利用機関法人、公立大学法人など
- 専門学校や各種学校のうち、18歳以上を対象とするもの

LG.JP
地方公共団体と、それらの組織が行う行政サービスが登録できます。

GO.JP
日本の政府機関や各省庁所管の研究所、特殊法人、独立行政法人が登録できます。
政府機関は、一つの組織で複数のGO.JPドメイン名を登録できます。

👉 種類と対象 | JPドメイン名の種類 | JPドメイン名について | JPRS 


javascript:(()=>{if(location.host=='www.google.com'&&location.pathname=='/search'){var params=new URLSearchParams(location.search);params.set('q', 'site:ac.jp OR site:go.jp OR site:lg.jp ' + params.get('q'));location.search=params.toString();}})()

医療情報に限定: 大学・大学病院(ac.jp)のみ

https://www.google.com/search?q=site%3Aac.jp+%E3%82%AA%E3%83%AA%E3%83%B3%E3%83%94%E3%83%83%E3%82%AF


javascript:(()=>{if(location.host=='www.google.com'&&location.pathname=='/search'){var params=new URLSearchParams(location.search);params.set('q', 'site:ac.jp ' + params.get('q'));location.search=params.toString();}})()

国内論文限定: ci.nii.ac.jp に限定

https://www.google.com/search?q=site%3Aci.nii.ac.jp+%E3%82%AA%E3%83%AA%E3%83%B3%E3%83%94%E3%83%83%E3%82%AF

CiNii(NII学術情報ナビゲータ[サイニィ])は、論文、図書・雑誌や博士論文などの学術情報で検索できるデータベース・サービスです。どなたでもご利用いただけます。

「CiNii Articles - 日本の論文をさがす」では、学協会刊行物・大学研究紀要・国立国会図書館の雑誌記事索引データベースなどの学術論文情報を検索できます。

👉 CiNii Articles - 日本の論文をさがす - 国立情報学研究所 


javascript:(()=>{if(location.host=='www.google.com'&&location.pathname=='/search'){var params=new URLSearchParams(location.search);params.set('q', 'site:ci.nii.ac.jp ' + params.get('q'));location.search=params.toString();}})()

pdfのみ: 正確な情報が多い

https://www.google.com/search?q=filetype%3Apdf+%E3%82%AA%E3%83%AA%E3%83%B3%E3%83%94%E3%83%83%E3%82%AF


javascript:(()=>{if(location.host=='www.google.com'&&location.pathname=='/search'){var params=new URLSearchParams(location.search);params.set('q', 'filetype:pdf ' + params.get('q'));location.search=params.toString();}})()

英文論文限定: pubmed.ncbi.nlm.nih.gov に限定

https://www.google.com/search?q=site%3Apubmed.ncbi.nlm.nih.gov+%E3%82%AA%E3%83%AA%E3%83%B3%E3%83%94%E3%83%83%E3%82%AF

PubMed is a free resource supporting the search and retrieval of biomedical and life sciences literature with the aim of improving health–both globally and personally.

The PubMed database contains more than 33 million citations and abstracts of biomedical literature. It does not include full text journal articles; however, links to the full text are often present when available from other sources, such as the publisher's website or PubMed Central (PMC).

👉 PubMed 


javascript:(()=>{if(location.host=='www.google.com'&&location.pathname=='/search'){var params=new URLSearchParams(location.search);params.set('q', 'site:pubmed.ncbi.nlm.nih.gov  ' + params.get('q'));location.search=params.toString();}})()

ありがとうございます。

ホント今の広告だらけの検索結果にうんざりです。

👉 ブックマークレットの登録方法 - Qiita 

👉 Google 検索オプション 
👉 Google 画像検索オプション 
👉 Google 動画検索オプション 
👉 ブックス検索オプション 

👉 Stackoverflow の短い公式URLでコピペ用ブックマークレットを作る 


macOS でスクリプトから通知を出す。


macOS でスクリプトから通知を出します。

mac の前に座る時間が増えたコロナ期間では必須ですよね!

しょうもない確認作業はスクリプトで自動化していきましょう。

👉 Play ストアから現在公開中のバージョンを取得するワンライナー 

そのまえに通知時に使うサウンドを増やしておきます。

 

システム効果音

私の mac は今、Monterey ですが、

通知時のサウンドは以下で設定できます。


システム環境設定

  ↓

サウンド

  ↓

サウンドエフェクト

mac os system effect sounds montrey

実体ファイルは以下にあります。


~ % ls /System/Library/Sounds
Basso.aiff	Frog.aiff	Hero.aiff	Pop.aiff	Submarine.aiff
Blow.aiff	Funk.aiff	Morse.aiff	Purr.aiff	Tink.aiff
Bottle.aiff	Glass.aiff	Ping.aiff	Sosumi.aiff

少し寂しいので追加します。

stevenjaycohen
👉 Google Code Archive - Long-term storage for Google Code Project Hosting. 

ユーザー追加向けディレクトリに置きます。(インストラーでは置かれます。)


~ % ls ~/Library/Sounds
Bip.aiff		Logjam.aiff		Uh oh.aiff
Boing.aiff		Monkey.aiff		Voltage.aiff
ChuToy.aiff		Pong2003.aiff		Whit.aiff
Clink-Klank.aiff	Quack.aiff		Wild Eep.aiff
Droplet.aiff		Single Click.aiff	moof.aiff
Indigo.aiff		Sosumi.aiff		newbip.aiff
Laugh.aiff		Temple.aiff

macOS 側の GUI からは、2つのディレクトリ内の音声ファイルを合成したものが表示されます。

mac os system sound classic

 

スクリプト

スクリプトから通知にメッセージを出力するには以下のようです。


~ % osascript -e 'display notification "めっせーじ" with title "たいとる" subtitle "さぶたいとる" sound name "Bip"'

sound 部分には、先ほどの音声ファイル名を拡張子なしで記述します。

👉 RubyからMacの通知センターで通知する簡単な方法 (AppleScript) - Qiita 
👉 Display notification from the Mac command line 
👉 Google Play Console - Google Play のアプリ 


👉 【Playストア】今現在のアプリ更新時の審査日数を調べる方法