Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for My Feeds #95

Open
brian6932 opened this issue Dec 25, 2023 · 0 comments
Open

Support for My Feeds #95

brian6932 opened this issue Dec 25, 2023 · 0 comments

Comments

@brian6932
Copy link

brian6932 commented Dec 25, 2023

https://bsky.app/feeds

request (replace $server with your local server, and $jwt with your jwt token)

GET /xrpc/app.bsky.actor.getPreferences HTTP/2
Host: enoki.$server.host.bsky.network
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
authorization: Bearer $jwt
Origin: https://bsky.app
DNT: 1
Sec-GPC: 1
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
If-None-Match: W/"349-SWwpR5qWL31vpiXvOJvXryqYzQU"
TE: trailers

response

{
	"preferences": [
		{
			"$type": "app.bsky.actor.defs#savedFeedsPref",
			"pinned": [
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:..."
			],
			"saved": [
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:...",
				"at://did:plc:..."
			]
		}
	]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant