Import Instagram archive to a Bluesky account
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

Impreved alt text description for location

+2 -1
+2 -1
app.ts
··· 139 139 140 140 if (postMedia.media_metadata?.photo_metadata?.exif_data?.length > 0) { 141 141 location = postMedia.media_metadata?.photo_metadata?.exif_data![0]; 142 - mediaText += `\ngeo:${location.latitude},${location.longitude}`; 142 + if( location.latitude > 0 ) 143 + mediaText += `\nPhoto taken at these geographical coordinates: geo:${location.latitude},${location.longitude}`; 143 144 } 144 145 145 146 console.log(` Media ${j} - ${postMedia.uri}`);