{"id":58185,"date":"2026-11-18T18:12:30","date_gmt":"2026-11-18T12:42:30","guid":{"rendered":"https:\/\/taggbox.com\/blog\/?p=58185"},"modified":"2026-11-18T18:21:58","modified_gmt":"2026-11-18T12:51:58","slug":"social-media-widget-with-ai","status":"publish","type":"post","link":"https:\/\/taggbox.com\/blog\/social-media-widget-with-ai\/","title":{"rendered":"DIY Social Media Widgets with AI Like ChatGPT &amp; Claude (+ API Explained)","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"\n<blockquote class=\"rl-callout\">\n  <p>AI tools like ChatGPT, Cursor, Claude, GitHub Copilot, Windsurf or Gemini can build simple social widgets like share buttons or follow icons in one prompt. But if you want a live, auto-updating feed, you may need an ongoing API connection. Tools like the Taggbox API simplify the live-feed embed on your website by replacing multiple platform APIs with one.\n<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, you can build a social media widget with AI, be it ChatGPT, Claude, or other similar tools. These AI tools will hand you working code in minutes, and you won\u2019t need any heavy techie skills.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But a <a href=\"https:\/\/taggbox.com\/social-media-widget\/\">social media widget<\/a> is more than one thing; it comes in different types, and each behaves differently. Some widgets are static, so once AI writes them, you\u2019re good to go. Others include a live feed that <a href=\"https:\/\/taggbox.com\/blog\/embed-instagram-feed-on-website\/\">embeds your latest Instagram posts<\/a> or TikTok posts, and those depend on an automated connection to a platform\u2019s API, so that means you\u2019ve got stuff to understand about how you can keep them updated in real time gradually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, I\u2019ve analyzed where AI works best and where you may need a platform.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-the-social-widget-types-that-ai-builds-perfectly\">What Are The Social Widget Types That AI Builds Perfectly<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your widgets are static and won\u2019t need syncing later, AI handles them pretty well.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Social Share Buttons<\/strong>: These icons let visitors share your page to their own social media accounts. There is no incoming data here, and the button simply opens that platform&#8217;s native share dialog.<\/li>\n\n\n\n<li><strong>Follow Icons<\/strong>: These are links pointing to your brand&#8217;s own profiles. They\u2019re fixed, permanent, and not connected to any API.<\/li>\n\n\n\n<li><strong>Follower or Subscriber Counter:<\/strong> It is a simple value instead of a live count, so it&#8217;s easy to keep it current.<\/li>\n\n\n\n<li><strong>&#8220;as seen on&#8221; or &#8220;featured in&#8221; logo strip<\/strong>: A set of logos and links you update by hand a few times a year when your list of mentions changes.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You can describe each of these to ChatGPT, Claude, or any other AI in a single clear prompt and get finished, working code back.<\/p>\n\n\n\n<blockquote style=\"border-left:4px solid #E0AA9B;background:#fdf6f4;margin:24px 0;padding:16px 20px;border-radius:0 8px 8px 0;font-family:Georgia,serif;\">\n  <div style=\"font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:12px;font-weight:700;color:#b8735f;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;\">Prompt Example<\/div>\n  <p style=\"margin:0;font-size:17px;line-height:1.7;color:#374151;font-style:italic;\">&#8220;Build me a simple, responsive row of social share buttons for Facebook, X, LinkedIn, and WhatsApp. Use plain HTML, CSS, and JavaScript, no external libraries. Each button should open that platform&#8217;s native share dialog with the current page&#8217;s URL and title. Style them as circular icons that scale down to a single row on mobile.&#8221;<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">That prompt reliably gives you a ready-to-use widget in one pass because it includes everything it needs. No external data source or login is required, and nothing needs updating over time. This is the type where &#8220;AI built my widget in less than five minutes&#8221; is the right description of what happens, and it&#8217;s a good place to start.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-1024x512.webp\" alt=\"\" class=\"wp-image-58186\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-1024x512.webp 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-300x150.webp 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-768x384.webp 768w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-1536x768.webp 1536w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt-480x240.webp 480w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/ready-to-use-widget-prompt.webp 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"can-you-create-live-social-media-widgets-with-ai\">Can You Create Live Social Media Widgets with AI?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you\u2019re creating a social media widget that needs to show what\u2019s happening on a platform in the moment, it could be an Instagram feed, a <a href=\"https:\/\/taggbox.com\/templates\/youtube-grid\/\">YouTube video grid<\/a> or basically a wall that fetches posts from several networks all at once, in one place. Though AI is involved in this, it mainly depends on a live connection to the platform behind embedding these on your website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"two-approaches-you-must-try\">Two Approaches You Must Try&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: Here we\u2019re taking Instagram as an example.<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"1-show-ai-a-screenshot-of-an-instagram-profile-ask-to-recreate-layout\">1. Show AI a Screenshot of an Instagram Profile &amp; Ask to Recreate Layout&nbsp;<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">AI is pretty good at reading a screenshot and producing HTML\/CSS that looks identical to it. But what it will produce is a copy of a moment and not a connection to the account. So, nothing is connected directly to the platform (maybe Instagram\/Facebook etc.), and hence there are no automated updates when the account posts something new.&nbsp;<\/p>\n\n\n\n<blockquote style=\"border-left:4px solid #E0AA9B;background:#fdf6f4;margin:24px 0;padding:16px 20px;border-radius:0 8px 8px 0;font-family:Georgia,serif;\">\n  <div style=\"font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:12px;font-weight:700;color:#b8735f;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;\">Prompt Example<\/div>\n  <p style=\"margin:0;font-size:17px;line-height:1.7;color:#374151;font-style:italic;\">\u201cHere&#8217;s a screenshot of my Instagram profile. Recreate this as a widget for my website. Same grid layout, same post thumbnails, same follower count and bio at the top. Make it responsive so it looks good on mobile too.\u201d<\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"2-ask-ai-for-a-basic-embed-snippet\">2. Ask AI for a Basic Embed Snippet&nbsp;<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">AI can generate the code for an <a href=\"https:\/\/taggbox.com\/instagram-widget\/\">Instagram feed widget<\/a>, but what you get depends on how the feed connects to Instagram. A static embed can display specific posts but won&#8217;t update automatically. A live feed requires Meta&#8217;s API, authentication, and a secure place to store your access token.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re asking AI to build the API-based version, give it the API documentation, account details, a sample API response and your website&#8217;s tech stack. Also tell it to keep the access token server-side.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The catch: AI can write the initial code, but it doesn&#8217;t eliminate the need to maintain the API connection when Meta changes its requirements.<\/p>\n\n\n\n<blockquote style=\"border-left:4px solid #E0AA9B;background:#fdf6f4;margin:24px 0;padding:16px 20px;border-radius:0 8px 8px 0;font-family:Georgia,serif;\">\n  <div style=\"font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:12px;font-weight:700;color:#b8735f;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px;\">Prompt Example<\/div>\n  <p style=\"margin:0;font-size:17px;line-height:1.7;color:#374151;font-style:italic;\">&#8220;I want to embed a live Instagram feed on my website using the Instagram API. Here&#8217;s the relevant API documentation: [link]. Here&#8217;s a sample JSON response from a real API call: [paste response]. My account ID is [ID]. My access token is stored securely in an environment variable called ACCESS_TOKEN. Never expose the token in frontend code or send it to the browser.\n<br><br>\nMy site runs on [specify tech stack]. Write the server-side code needed to fetch my latest 12 posts and display them on my website. Cache the API response for 5 minutes to avoid making a request on every page load. If the API request fails, use the most recent cached response instead.\n<br><br>\nHandle missing fields gracefully, and explain any permissions, token requirements, or additional setup needed. Also explain how I should handle token expiration or renewal.&#8221;\n<\/p>\n<\/blockquote>\n\n\n\n<div class=\"bg-gray rounded-3 d-flex align-items-center justify-content-center justify-content-xl-between flex-xl-row flex-column text-center text-xl-start gap-4 p-4\">\n    <p class=\"fs-18px fw-semibold mb-0 flex\">Get Your Gallery Access Token in Under 2 Minutes &#038; Start Building<\/p>\n    <a class=\"btn btn-lg btn-primary rounded-pill flex-shrink-0\" href=\"https:\/\/app.taggbox.com\/widget\/accounts\/register\/\">Start Free<\/a>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-taggbox-api-makes-diy-social-media-widgets-easy\">How Taggbox API Makes DIY Social Media Widgets Easy&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the <a href=\"https:\/\/taggbox.com\/support\/api\/widget-api\/\">Taggbox API<\/a>, one connection replaces a separate embed for every platform. Taggbox collects posts and reviews from 25+ platforms, including Instagram, Facebook, LinkedIn, YouTube, X (Twitter) and Google. You can moderate them by hand or with automated, AI-powered filters, so you never deal with Instagram&#8217;s developer portal or Meta&#8217;s policy changes.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"getting-your-access-token\">Getting your access token<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Every request needs a token so the API knows which gallery to read:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your <a href=\"https:\/\/app.taggbox.com\/\">Taggbox dashboard<\/a>.<\/li>\n\n\n\n<li>Open the gallery you want posts from (or create one)<\/li>\n\n\n\n<li>Click the three-dot menu on that gallery&#8217;s card<\/li>\n\n\n\n<li>Copy the value under Access Token<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery-1024x576.png\" alt=\"Access Token in Content Gallery\" class=\"wp-image-58453\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery-1024x576.png 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery-300x169.png 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery-767x432.png 767w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery-480x270.png 480w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/11\/Access-Token-in-Content-Gallery.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Which token to use:<\/strong><strong><br><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Token type<\/th><th>What it opens<\/th><th>When to use it<\/th><\/tr><\/thead><tbody><tr><td>Gallery token (starts with wt1_)<\/td><td>One gallery only<\/td><td>Almost always; safe to give an agency or freelancer<\/td><\/tr><tr><td>Account key<\/td><td>Every gallery you own<\/td><td>Only when you truly need all galleries<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Account key (User API Key)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"125\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key-1024x125.webp\" alt=\"\" class=\"wp-image-58189\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key-1024x125.webp 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key-761x93.webp 761w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key-474x58.webp 474w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key-300x37.webp 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Account-key-User-API-Key.webp 1415w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"display:flex;gap:14px;align-items:flex-start;background:#fffbeb;border:1px solid #fde68a;border-left:5px solid #f59e0b;border-radius:10px;padding:16px 20px;margin:24px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;\">\n  <div style=\"font-size:22px;line-height:1;\">\ud83d\udd12<\/div>\n  <div>\n    <div style=\"font-size:13px;font-weight:700;color:#b45309;text-transform:uppercase;letter-spacing:0.8px;margin-bottom:6px;\">Author&#8217;s Tip<\/div>\n    <p style=\"margin:0;font-size:15px;line-height:1.65;color:#78350f;\">Treat both tokens like a password: keep them on your server, never in a page&#8217;s HTML or JavaScript.<\/p>\n  <\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: API access is included in the Taggbox enterprise plan.<\/em> <a href=\"https:\/\/taggbox.com\/contact-us\/\"><em>Contact the support team<\/em><\/a> <em>for more details.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"you-only-need-one-request-for-every-network\">You Only Need One Request for Every Network&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are no separate endpoints per platform:<\/p>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:16px 20px;border-radius:8px;overflow-x:auto;font-family:Consolas,Monaco,'Courier New',monospace;font-size:14px;line-height:1.6;margin:20px 0;\"><code><span style=\"color:#569cd6;font-weight:bold;\">GET<\/span> <span style=\"color:#ce9178;\">https:\/\/api.taggbox.com\/api\/v3\/posts?limit=24<\/span>\n<span style=\"color:#9cdcfe;\">Authorization:<\/span> Bearer <span style=\"color:#b5cea8;\">wt1_YOUR_ACCESS_TOKEN<\/span><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"what-ai-gets-wrong-unless-you-tell-it\">What AI Gets Wrong Unless You Tell It&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">AI tools often copy patterns from other social-wall APIs and write code that runs but shows an empty page. Mention these 5 points in your prompt:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Posts are inside body.posts, not at the top of the JSON.<\/li>\n\n\n\n<li>There is no ?fields= parameter; the full post always comes back.<\/li>\n\n\n\n<li>media[0] may be a video; use the first item whose type is &#8220;image&#8221; and read its cdn_url.<\/li>\n\n\n\n<li>Missing values are null, not &#8220;&#8221; or 0; if author.name is missing, use author.handle.<\/li>\n\n\n\n<li>The default sort (pinned first, then newest) is already right; don&#8217;t change it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The steps below already handle all five, which is why the finished widget works on the first run.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-build-a-social-wall-with-ai-using-taggbox-api\">How to Build a Social Wall with AI Using Taggbox API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Taggbox API works with whatever tool you are comfortable with, such as ChatGPT, Claude, Cursor, GitHub Copilot, Windsurf, or Gemini.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In four short steps, Claude turns your <a href=\"https:\/\/taggbox.com\/widget\/\">Taggbox widget<\/a> gallery into a ready-to-run social widget for your website, with no coding required. You pick a theme, preview it, change its colours, and download a finished zip.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Our worked example uses the Modern Card theme, a card colour of #E0AA9B, and the React stack.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"requirements-before-you-start\">Requirements Before You Start:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Taggbox account with at least one gallery.<\/li>\n\n\n\n<li>A Claude chat on claude.ai (web, desktop or mobile).<\/li>\n\n\n\n<li>The software your stack runs on, installed on your computer or server (see the table below).<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Stack you pick<\/strong><\/th><th><strong>What you need installed<\/strong><\/th><\/tr><\/thead><tbody><tr><td>React, Node.js<\/td><td>Node.js 18 or newer<\/td><\/tr><tr><td>PHP, Simple HTML<\/td><td>PHP (any PHP host also works)<\/td><\/tr><tr><td>Laravel, WordPress, CodeIgniter, Symfony<\/td><td>PHP, plus your existing framework or site<\/td><\/tr><tr><td>Next.js, Nuxt, Express<\/td><td>Node.js, the version your framework needs<\/td><\/tr><tr><td>Vue, Angular, Svelte<\/td><td>Node.js 18 or newer (a small Node server keeps the token)<\/td><\/tr><tr><td>Django, Flask<\/td><td>Python 3<\/td><\/tr><tr><td>Rails, Go, Java, .NET<\/td><td>That language&#8217;s usual runtime<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">PHP, Node.js, React and Simple HTML come as a ready-made zip. For any other stack, Claude adapts the closest ready version and gives you only the 2 to 4 files your project needs, also as a zip.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"the-starter-prompt\">The Starter Prompt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The whole build starts from one prompt. It points Claude to a ready-made instruction file on GitHub, so every user gets the same tested steps and the same finished code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to use it:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open a new chat on claude.ai.<\/li>\n\n\n\n<li>Copy the prompt below exactly as it is; do not shorten or reword it.<\/li>\n\n\n\n<li>Paste it and send. Claude shows the theme gallery (Step 1) and waits for your answer.<\/li>\n\n\n\n<li>Answer each question with a number or a word. Claude does one step per reply.<\/li>\n<\/ul>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:16px 20px;border-radius:8px;overflow-x:auto;white-space:pre-wrap;word-break:break-word;font-family:Consolas,Monaco,'Courier New',monospace;font-size:14px;line-height:1.6;margin:20px 0;\"><code><span style=\"color:#9cdcfe;\">BASE<\/span> = <span style=\"color:#ce9178;\">https:\/\/raw.githubusercontent.com\/wallapi\/taggbox.com-API-Docs\/build<\/span> - every BASE\/... link, here and in the files you fetch, starts from it.\nBuild me a social widget from my Taggbox gallery, step by step.\nFetch this RAW and follow it exactly. It lists every step and when to stop and wait for my answer. Start with step 1 now:\n<span style=\"color:#ce9178;\">https:\/\/raw.githubusercontent.com\/wallapi\/taggbox.com-API-Docs\/build\/prompts\/library\/build\/steps.md?v=09<\/span>\nIf you cannot open a link, say so in one line; do not build from memory.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why it works<\/strong>: The instruction file already contains the theme previews, the finished code for each stack and the README, so Claude copies tested files instead of writing new code. That keeps the result the same every time and avoids the API mistakes listed above.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tips by the author:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Use a fresh chat, so earlier messages do not confuse the steps.<\/li>\n\n\n\n<li>If Claude says a link will not open, check your internet connection and send the prompt again.<\/li>\n\n\n\n<li>The prompt also works in other AI tools such as ChatGPT, Gemini, Cursor or Claude Code; the instruction file has separate steps for them.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"steps\">Steps:<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-1-pick-a-theme\">Step 1: Pick a theme<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Claude shows a gallery of 17 widget themes right in the chat. Reply with a theme&#8217;s number or name; if you reply &#8220;skip&#8221;, you get 3. Modern Card.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"919\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme-1024x919.png\" alt=\"Pick a Social Widget theme\" class=\"wp-image-58450\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme-1024x919.png 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme-300x269.png 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme-479x430.png 479w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme-768x689.png 768w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Pick-a-Social-Widget-theme.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>In our example, we replied 3.<\/em><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-2-preview-your-theme\">Step 2: Preview your theme<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Claude opens a live preview of the chosen theme, filled with sample posts. Images look blurred inside the chat preview; save preview.html and double-click it to see them sharp.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"720\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme-1024x720.webp\" alt=\"Preview your theme\" class=\"wp-image-58191\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme-1024x720.webp 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme-300x211.webp 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme-768x540.webp 768w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme-479x337.webp 479w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Preview-your-theme.webp 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Claude then asks two questions:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Want to change anything? (colours, font, columns, corners, spacing) Or say &#8220;no&#8221;.<\/li>\n\n\n\n<li>Which stack should it be built in? PHP, Node.js, React, Simple HTML, or Other (Laravel, WordPress, Next.js, Vue, Django, Flask and so on).<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-3-change-the-look-optional\">Step 3: Change the look (optional)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Describe the change in plain words, and Claude writes a small custom.css file, then shows the preview again with your change. We asked for a card colour of #E0AA9B, and only this line changed:<\/p>\n\n\n\n<pre style=\"background:#1e1e1e;color:#d4d4d4;padding:16px 20px;border-radius:8px;overflow-x:auto;white-space:pre-wrap;word-break:break-word;font-family:Consolas,Monaco,'Courier New',monospace;font-size:14px;line-height:1.6;margin:20px 0;\"><code><span style=\"color:#d7ba7d;\">:root<\/span> {\n  <span style=\"color:#9cdcfe;\">--tbx-surface<\/span>: <span style=\"color:#ce9178;\">#E0AA9B<\/span>;\n}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"947\" src=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look-1024x947.png\" alt=\"Change the look\" class=\"wp-image-58451\" srcset=\"https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look-1024x947.png 1024w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look-300x278.png 300w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look-768x710.png 768w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look-480x444.png 480w, https:\/\/taggbox.com\/blog\/wp-content\/uploads\/2026\/10\/Change-the-look.png 1080w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can repeat this step as often as you like. Things you can ask to change:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>What to change<\/strong><\/th><th><strong>Setting<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Page background<\/td><td>&#8211;tbx-bg<\/td><\/tr><tr><td>Card color<\/td><td>&#8211;tbx-surface<\/td><\/tr><tr><td>Post text color<\/td><td>&#8211;tbx-text<\/td><\/tr><tr><td>Author name color<\/td><td>&#8211;tbx-author<\/td><\/tr><tr><td>Font, weight, text size<\/td><td>&#8211;tbx-font, &#8211;tbx-weight, &#8211;tbx-size<\/td><\/tr><tr><td>Card and image corners<\/td><td>&#8211;tbx-radius, &#8211;tbx-img-radius<\/td><\/tr><tr><td>Space between and inside cards<\/td><td>&#8211;tbx-gap, &#8211;tbx-pad<\/td><\/tr><tr><td>Number of columns<\/td><td>&#8211;tbx-cols<\/td><\/tr><tr><td>Text lines shown<\/td><td>&#8211;tbx-lines<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"step-4-choose-a-stack-download\">Step 4: Choose a stack &amp; download&nbsp;<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Reply with your stack, and Claude hands you a finished zip; it doesn&#8217;t write code from scratch. We replied React and got social-widget-react.zip, which contains:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>File<\/strong><\/th><th><strong>What it does<\/strong><\/th><\/tr><\/thead><tbody><tr><td>server.js<\/td><td>Holds the access token, calls the Taggbox API and caches posts<\/td><\/tr><tr><td>src\/SocialWidget.jsx<\/td><td>Draws the widget in the chosen theme<\/td><\/tr><tr><td>src\/main.jsx, index.html<\/td><td>Start the React page<\/td><\/tr><tr><td>vite.config.js<\/td><td>Sends the page&#8217;s \/api calls to the server<\/td><\/tr><tr><td>package.json<\/td><td>Lists the packages and start commands<\/td><\/tr><tr><td>themes\/modern-card.css, .json<\/td><td>The theme&#8217;s look and settings<\/td><\/tr><tr><td>custom.css<\/td><td>Your Step 3 changes<\/td><\/tr><tr><td>samples\/social.json<\/td><td>Sample posts, shown until you add a token<\/td><\/tr><tr><td>.env<\/td><td>Settings: WIDGET_THEME=modern-card, ACCESS_TOKEN empty<\/td><\/tr><tr><td>README.md<\/td><td>Full instructions for beginners<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Run it and add your token:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Unzip the file and keep the folders as they are.<\/li>\n\n\n\n<li>In that folder, run npm install, then npm run dev.<\/li>\n\n\n\n<li>Open http:\/\/localhost:5173. You will see the sample posts.<\/li>\n\n\n\n<li>Get your token: <a href=\"https:\/\/app.taggbox.com\/\">Taggbox dashboard<\/a>, your gallery&#8217;s card, three-dot menu, &#8220;Access Token&#8221;.<\/li>\n\n\n\n<li>Paste it after ACCESS_TOKEN= in the .env file and restart. Your real posts now appear.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">npm run dev starts both parts at once: the token-holding server on port 3001 and the page on port 5173. The server caches posts for 5 minutes, so a newly approved post can take up to 5 minutes to appear.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Other stacks start differently: PHP and Simple HTML use php -S localhost:8080; Node.js uses npm install then npm start.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the access token only on the server, in .env or your host&#8217;s settings. Never put it in frontend code, a public folder, or git; add .env to .gitignore.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Save the API rules once, in a project instruction file<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of pasting long API instructions into every prompt, save them once in your AI tool&#8217;s project instruction file. The tool reads it on every request.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>AI tool<\/strong><\/th><th><strong>Instruction file<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Claude Code<\/td><td>CLAUDE.md<\/td><\/tr><tr><td>Codex<\/td><td>AGENTS.md<\/td><\/tr><tr><td>Cursor<\/td><td>.cursor\/rules\/<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Put the five rules from &#8220;What AI gets wrong unless you tell it&#8221; in that file. After that, short prompts such as &#8220;add a network filter&#8221; or &#8220;add a Load more button&#8221; are enough.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"my-analysis-when-do-you-only-need-ai-when-you-need-an-api-along\">My Analysis: When Do You Only Need AI &amp; When You Need an API Along&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">AI can write the code for a static widget on its own, but a live social feed needs an API connection. Connecting each network directly means managing all of this, once per network:<br><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>You manage per network<\/strong><\/th><th><strong>Example of what goes wrong<\/strong><\/th><\/tr><\/thead><tbody><tr><td>A separate API<\/td><td>Different endpoints and data formats<\/td><\/tr><tr><td>A separate token<\/td><td>Each one expires or is revoked on its own schedule<\/td><\/tr><tr><td>Authentication<\/td><td>App reviews and developer-portal approval<\/td><\/tr><tr><td>Rate limits<\/td><td>The feed stops when a limit is hit<\/td><\/tr><tr><td>Policy changes<\/td><td>A platform update breaks the widget overnight<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With Taggbox you manage one API, one token and one response format for every network.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-more-do-you-get-with-taggbox-other-than-the-api\">What More Do You Get with Taggbox Other Than The API?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I feel the API is one way into Taggbox, not the only way. The platform underneath it is what&#8217;s doing the collecting, moderating, and organizing before a single post ever reaches that GET request. And all of that is available on its own through a dashboard for anyone who&#8217;d rather not touch code at all.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that means someone on a marketing team can go into the dashboard, connect their accounts, set moderation rules, choose a layout, and publish a feed without writing a line of code themselves, with the depth of that toolkit scoped to whatever plan they&#8217;re on.<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>AI tools like ChatGPT, Cursor, Claude, GitHub Copilot, Windsurf or Gemini can build simple social widgets like share buttons or follow icons in one prompt. But if you want a live, auto-updating feed, you may need an ongoing API connection. Tools like the Taggbox API simplify the live-feed embed on your website by replacing multiple [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":62,"featured_media":58193,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1123],"tags":[],"class_list":["post-58185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-social-media"],"acf":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/posts\/58185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/users\/62"}],"replies":[{"embeddable":true,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/comments?post=58185"}],"version-history":[{"count":5,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/posts\/58185\/revisions"}],"predecessor-version":[{"id":58454,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/posts\/58185\/revisions\/58454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/media\/58193"}],"wp:attachment":[{"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/media?parent=58185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/categories?post=58185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taggbox.com\/blog\/wp-json\/wp\/v2\/tags?post=58185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}