From 74ec9c51f38a33a2fa9c8b20872d432b3c30365c Mon Sep 17 00:00:00 2001 From: balestek <157660869+balestek@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:06:48 +0100 Subject: [PATCH 1/2] Adding Bluesky for default handles as Bluesky 2 Existing "Blue Sky" checks the full handle (with the domain). Useful to find someone from the full handle or from a personal domain as a handle. But it can't find the majority of the users who are using a default handle. - "Blue Sky" renamed to "Bluesky 1" - New "Bluesky 2" using the bluesky public api, checking for the username part in the default handle {{username}}.bsky.social. --- wmn-data.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wmn-data.json b/wmn-data.json index 112a6e4c..644758e7 100644 --- a/wmn-data.json +++ b/wmn-data.json @@ -668,7 +668,7 @@ "cat" : "blog" }, { - "name" : "Blue Sky", + "name" : "Bluesky 1", "uri_check" : "https://bsky.app/profile/{account}", "e_code" : 200, "e_string" : "on Bluesky", @@ -677,6 +677,16 @@ "known" : ["bsky.app", "safety.bsky.app"], "cat" : "social" }, + { + "name": "Bluesky 2", + "uri_check": "https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor={account}.bsky.social", + "e_code": 200, + "e_string": "\"handle\":\"", + "m_code": 400, + "m_string": "\"message\":\"Profile not found\"", + "known": ["john", "mark"], + "cat": "social" + }, { "name" : "BodyBuilding.com", "uri_check" : "http://api.bodybuilding.com/api-proxy/bbc/get?slug={account}", From a297a49417a5488eb105dd9db7c762ca90ccd7b4 Mon Sep 17 00:00:00 2001 From: balestek <157660869+balestek@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:15:57 +0100 Subject: [PATCH 2/2] Forgot the uri_pretty... --- wmn-data.json | 1 + 1 file changed, 1 insertion(+) diff --git a/wmn-data.json b/wmn-data.json index 644758e7..e6612c26 100644 --- a/wmn-data.json +++ b/wmn-data.json @@ -680,6 +680,7 @@ { "name": "Bluesky 2", "uri_check": "https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor={account}.bsky.social", + "uri_pretty" : "https://bsky.app/profile/{account}.bsky.social", "e_code": 200, "e_string": "\"handle\":\"", "m_code": 400,