Scroll to top

28/11/2023


2023/11/28#p1

0 comments: click to leave a comment

More work on the blog to Bluesky API integration.

As I understand it, a 'link card' will take priority over an image so you can't have both, but you can include an image with that card.

This is, therefore a test to see if marking an image as featured (I give it the class 'feat') will have it be correctly identified, uploaded and attached to the link card for this post.

If a post is less than 275 characters I should also not be generating a link card but just sending the full text of the post adding an image if applicable.

image for Bluesky API testing: a neon acid house sign on a Blade Runner inspired building
No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



2023/11/28#p3

0 comments: click to leave a comment

This is a longer post (apologies for the testing) that should be in excess of 275 characters. There will be no featured image so the link card should just be the link.

This serves as a test to see if the API will accept a link card with an empty value for 'thumb' — if not I will need to put in a bit of logic.

No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



No comments yet
Leave a reply



You can also:

Click here to reply using email Reply by email Send a webmention Send a Webmention



Close