Twitter Card Setup for Blog Posts
✅ What Was Configured:
1. Updated Default Layout (_layouts/default.html)
Added dynamic Twitter Card and Open Graph meta tags that:
- Use post-specific descriptions when available
- Include custom images for posts
- Set proper dimensions (800x418 for 1.91:1 aspect ratio)
- Support both Twitter and Facebook/LinkedIn sharing
2. Updated Blog Post Front Matter
Added to _posts/2025-11-20-pharmaceutical-money-blocks-drug-price-reform.md:
description: "Rep. Jake Auchincloss (MA-4) took $815,000 from Big Pharma across 4 election cycles, then opposed drug price negotiation using industry talking points. The payoff: $8.8B congressional giveaway to pharmaceutical companies."
image: /assets/images/pharma-network-x-ad-1.91-1.png
image_alt: "The Auchincloss Pharmaceutical Money Network showing $815,000+ in industry contributions from 2020-2024"
3. X-Ad Compliant Image Used
File: pharma-network-x-ad-1.91-1.png
- Dimensions: 800x418 (1.91:1 aspect ratio) ✓
- Headline: “$815K Bought Congress: Follow the Pharmaceutical Money Trail”
- Positioned 10px from left/bottom edges ✓
- Under 70 characters ✓
🔍 Generated Meta Tags:
When you share https://poulos.house/2026/01/17/pharmaceutical-money-blocks-drug-price-reform.html on X, it will include:
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="How Pharmaceutical Industry Money Blocks Congressional Drug Price Reform">
<meta name="twitter:description" content="Rep. Jake Auchincloss (MA-4) took $815,000 from Big Pharma across 4 election cycles, then opposed drug price negotiation using industry talking points. The payoff: $8.8B congressional giveaway to pharmaceutical companies.">
<meta name="twitter:image" content="http://poulos.house/assets/images/pharma-network-x-ad-1.91-1.png">
<meta name="twitter:image:alt" content="The Auchincloss Pharmaceutical Money Network showing $815,000+ in industry contributions from 2020-2024">
<!-- Open Graph (Facebook, LinkedIn) -->
<meta property="og:title" content="How Pharmaceutical Industry Money Blocks Congressional Drug Price Reform">
<meta property="og:description" content="Rep. Jake Auchincloss (MA-4) took $815,000 from Big Pharma...">
<meta property="og:type" content="article">
<meta property="og:url" content="https://poulos.house/2026/01/17/pharmaceutical-money-blocks-drug-price-reform.html">
<meta property="og:image" content="http://poulos.house/assets/images/pharma-network-x-ad-1.91-1.png">
<meta property="og:image:width" content="800">
<meta property="og:image:height" content="418">
🧪 How to Test:
Option 1: Twitter Card Validator
- Go to: https://cards-dev.twitter.com/validator
- Enter URL: https://poulos.house/2026/01/17/pharmaceutical-money-blocks-drug-price-reform.html
- Click “Preview card”
- You should see the large image card with your network graphic
Option 2: Post on X
- Create a new post on X (Twitter)
- Paste the blog post URL
- X will automatically fetch the card and show a preview
- The preview should show:
- Large image (network graphic with headline)
- Title: “How Pharmaceutical Industry Money Blocks Congressional Drug Price Reform”
- Description snippet
Option 3: LinkedIn/Facebook
The Open Graph tags work the same way on other platforms:
- LinkedIn: Will show as article card with image
- Facebook: Will show as link preview with image
📊 For Future Blog Posts:
To get Twitter Cards on new posts, add to front matter:
---
layout: post
title: "Your Post Title"
date: YYYY-MM-DD
description: "Brief description for social media (under 200 chars recommended)"
image: /assets/images/your-image.png
image_alt: "Description of the image for accessibility"
---
Image Requirements:
- Dimensions: 800x418 (1.91:1) or 800x800 (1:1)
- Format: PNG or JPG
- Size: Keep under 5MB
- Include text/headline 8-12px from bottom/left edges if promotional
🚀 Promoting the Organic Post:
Since the blog post now has proper Twitter Cards:
- Organic Post First:
- Post the blog URL on your personal/campaign X account
- Let it get organic engagement (likes, retweets, replies)
- Then Promote:
- Use X Ads Manager to promote the successful organic post
- Select “Promote existing post” rather than creating new ad
- The same image will be used (X-ad compliant ✓)
- Engagement from organic post carries over
- Alternative: Separate Ad Campaign:
- Use the pharma-network-x-ad-1.91-1.png image
- Use tweets from
x-ad-tweets.txt - Link to blog post URL
- Fresh campaign without organic post history
📝 Best Practices:
- Test Before Promoting: Always preview the card before running ads
- Mobile Check: View on mobile to ensure headline is readable
- Clear CTA: Make sure the description drives clicks
- Track Performance: Use UTM parameters for ad campaigns
- A/B Test: Try different descriptions/images if first version underperforms