bags v0.3.1
Image processing for Twitter cards
I added image processing using ImageSharp to prepare product images for Twitter’s card format. The images get resized to 628x628 and centered in a 1200x628 canvas, with the edge pixels extended to fill the gutters on either side. This ensures the product images display nicely in Twitter’s link preview cards.
I also fixed a bug where the posted status wasn’t being saved to the database after tweeting, added null checks for when there are no new products to tweet, and extracted some code into dedicated methods for cleaner organization.
More bags
What started as a script to monitor Coach bag sales turned into a number of twitter feeds announcing sales across various women's fashion retailers · source · bagsonsale · dressfwrd · dressiconic