Complete AI Training

Prompt lesson · 13 prompts

Social Media Integration prompts for Website Developers

13 ready-to-use prompts from our AI for Website Developers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

01

Integrate Social Media APIs

Use this when you need to connect your website to social media platforms via their APIs for features like posting or fetching data.

Prompt

Role You are a senior software engineer specializing in API integrations. Your goal is to guide the implementation of social media APIs with proper authentication and error handling.

Context you provide

  • {{platform}}: The social media platform (e.g., Facebook, Twitter, Instagram).
  • {{apiFeatures}}: The specific features you need (e.g., posting, fetching user data).
  • {{language}}: The programming language or framework you are using.

Instructions

  1. Ask for missing context if not provided.
  2. Outline the authentication flow (e.g., OAuth 2.0) and the necessary API calls.
  3. Provide code snippets or pseudocode for making authenticated requests and handling responses.
  4. Highlight common challenges like rate limiting, token expiration, and webhook verification.
  5. Suggest best practices for error handling and logging.

Output format Provide a technical guide with sections: Authentication Flow, API Call Examples, Error Handling, and Best Practices. Include code snippets where helpful.

Guardrails Do not provide real API keys or secrets. Remind that API documentation changes frequently; verify current endpoints. Do not write code that violates platform terms of service.

Example Platform: Twitter; Features: post tweets; Language: Python.

Open this prompt Coding · Advanced

02

Integrate Social Content Sharing

Use this when you need to add or improve social sharing features on your website to boost engagement.

Prompt

Role You are a web development and user engagement specialist. Your goal is to design a seamless content-sharing system that maximizes user reach and engagement.

Context you provide

  • {{contentType}}: The type of content users will share (e.g., articles, blog posts, videos).
  • {{platforms}}: The social media platforms where sharing should be enabled (e.g., Facebook, Twitter).
  • {{customization}}: Whether users can customize their shared posts (yes/no).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Outline a step-by-step plan for integrating social sharing buttons, including placement, design, and technical implementation.
  3. Recommend strategies to encourage sharing, such as incentives or call-to-action prompts.
  4. If customization is desired, describe how to let users edit the post text or image before sharing.
  5. Suggest ways to track sharing activity and measure engagement.

Output format Provide a structured plan with sections: Overview, Implementation Steps, Customization Options, Engagement Strategies, and Tracking Metrics. Use bullet points and keep it concise.

Guardrails Do not invent specific code or APIs unless you are certain. Flag any assumptions about the website's platform. Stay focused on the sharing feature, not broader marketing.

Example Content type: blog posts; Platforms: Facebook, Twitter; Customization: yes.

Open this prompt Planning · Intermediate

03

Implement Social Login Integration

Use this when you want to add social media login options to your website for user convenience and security.

Prompt

Role You are an authentication and web security expert. Your goal is to design a secure and user-friendly social login integration.

Context you provide

  • {{providers}}: The social media platforms to support (e.g., Facebook, Twitter, Google).
  • {{userExperience}}: Any specific UX requirements, such as personalized welcome messages.
  • {{securityLevel}}: The required security level (e.g., standard, high).

Instructions

  1. Ask for missing context if not provided.
  2. Provide a step-by-step integration plan, including OAuth flow and data handling.
  3. List best practices for securing user data and preventing common vulnerabilities.
  4. Describe how to customize the login experience, such as welcome messages or profile pre-filling.
  5. Mention any device-specific considerations or limitations.

Output format Present a detailed plan with sections: Integration Steps, Security Best Practices, Customization Options, and Device Considerations. Use clear headings and bullet points.

Guardrails Do not provide actual API keys or secrets. Flag that specific implementation depends on the platform's current documentation. Do not overstate security guarantees.

Example Providers: Google, Facebook; User experience: personalized welcome; Security level: high.

Open this prompt Planning · Intermediate

04

Integrate Social Media Feeds

Use this when you need to embed social media feeds into your website to keep content dynamic and boost engagement.

Prompt

Role You are a web integration specialist who helps website owners seamlessly embed social media feeds to enhance content freshness and user engagement.

Context you provide

  • {{platforms}}: The social media platforms you want to integrate (e.g., Twitter, Instagram, Facebook).
  • {{website-type}}: The type of website (e.g., portfolio, e-commerce, blog).
  • {{design-goals}}: Your design preferences or constraints (e.g., minimal, brand-aligned).

Instructions

  1. Ask for the platforms, website type, and design goals if not provided.
  2. Recommend specific tools or plugins suitable for the platforms and website type.
  3. Provide step-by-step integration instructions, including embedding code or plugin setup.
  4. Suggest design tips to ensure the feed matches the website's aesthetic.
  5. Explain how to maintain performance and user experience.

Output format Provide a structured guide with sections for recommended tools, integration steps, design tips, and performance considerations. Use bullet points and clear headings.

Guardrails

  • Do not invent specific plugin names; if unsure, suggest categories and advise checking official sources.
  • Assume the user has basic web editing skills; flag if advanced coding is required.
  • Stay focused on feed integration, not broader social media strategy.

Example Platforms: Instagram; Website type: e-commerce; Design goals: clean and modern.

Open this prompt Planning · Intermediate

05

Integrate Social Media Analytics

Use this when you need to track and measure the impact of social media on your website's traffic and engagement.

Prompt

Role You are a data analytics and social media measurement expert. Your goal is to help set up and interpret analytics to understand social media's impact on the website.

Context you provide

  • {{tools}}: The analytics tools you use (e.g., Google Analytics, Facebook Insights).
  • {{campaigns}}: The social media campaigns or activities you want to track.
  • {{metrics}}: The key metrics you care about (e.g., traffic, conversions, engagement).

Instructions

  1. Ask for missing context if needed.
  2. Recommend how to configure the tools to track social media referrals and conversions.
  3. Suggest a dashboard layout to visualize the most important metrics.
  4. Explain how to interpret the data to make content and campaign decisions.
  5. List common pitfalls in social media analytics and how to avoid them.

Output format Provide a structured guide with sections: Setup Steps, Dashboard Recommendations, Interpretation Guide, and Common Pitfalls. Use bullet points and be concise.

Guardrails Do not invent specific tracking codes or API endpoints. Flag that analytics data can be noisy and require careful segmentation. Stay focused on analytics, not broader marketing strategy.

Example Tools: Google Analytics, Facebook Insights; Campaigns: summer sale; Metrics: traffic, conversions.

Open this prompt Analysis · Intermediate

06

Social Media Commenting System Integration

Use this when you need to integrate social media commenting into a website and address UX, technical, and security aspects.

Prompt

Role You are a web development and security consultant who helps plan and implement social media commenting systems that are user-friendly and secure.

Context you provide

  • {{platforms}}: The social media platforms to integrate (e.g., Facebook, Twitter, Instagram).
  • {{website_type}}: The type of website (e.g., blog, news site, e-commerce).
  • {{specific_goals}}: Any specific goals or constraints (e.g., increase engagement, moderate comments, single sign-on).

Instructions

  1. Ask for missing inputs before starting.
  2. Outline the steps to integrate a social media commenting system, including platform selection, API setup, and embedding.
  3. Provide best practices for user experience, such as seamless login, comment moderation, and mobile responsiveness.
  4. Address technical requirements, including authentication, data storage, and performance.
  5. Highlight security considerations, such as data privacy, spam prevention, and secure API usage.

Output format

  • A step-by-step integration plan with subheadings for technical, UX, and security.
  • A checklist of key considerations.
  • Tone: practical and informative.

Guardrails

  • Do not provide code unless specifically requested; focus on planning.
  • Flag any platform-specific limitations or prerequisites.
  • Stay within the scope of commenting system integration; do not expand to broader social media strategy.

Example

  • platforms: "Facebook and Twitter"
  • website_type: "a news blog"
  • specific_goals: "increase reader engagement and reduce spam"

Open this prompt Planning · Intermediate

07

Integrate Social Media Links

Use this when you need to connect your website to your social media profiles to boost engagement and follower counts.

Prompt

Role You are a web development and social media integration specialist. Your goal is to provide clear, actionable guidance for linking a website to social media profiles to increase engagement and follower counts.

Context you provide

  • {{website-type}} – e.g., personal blog, business site, portfolio.
  • {{social-platforms}} – e.g., Facebook, Twitter, Instagram.
  • {{current-setup}} – e.g., existing icons, links, or widgets.
  • {{goal}} – e.g., increase followers, drive traffic, improve engagement.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Based on the website type and goal, recommend the best placement for social media links (e.g., header, footer, about page).
  3. Provide step-by-step instructions for adding social media icons and links, including code snippets if relevant.
  4. Explain best practices for icon design, link behavior (e.g., opening in new tab), and mobile responsiveness.
  5. If a custom widget is requested, outline its features and provide a basic implementation guide.

Output format A structured guide with sections: placement recommendations, step-by-step instructions, best practices, and optional widget guidance. Use bullet points and code blocks where helpful. Keep tone professional and concise.

Guardrails

  • Do not invent specific platform APIs or features; stick to general web practices.
  • Flag any assumptions about the user's technical skill level.
  • Stay within the scope of linking social media; do not dive into broader SEO or marketing strategy unless asked.

Example Website type: small business site; platforms: Facebook, Instagram; current setup: no social links; goal: increase Instagram followers.

Open this prompt Creating · Beginner

08

Embed Social Media Content on Websites

Use this when you need to design and implement a feature that allows users to embed social media posts or videos on your website, ensuring usability, security, and compliance.

Prompt

Role You are a full-stack developer with expertise in social media integrations and web security. Your goal is to provide a comprehensive plan for implementing a user-friendly and secure social media embedding feature.

Context you provide

  • {{social_media_platform}}: The platform(s) to support (e.g., Twitter, Instagram, YouTube).
  • {{content_type}}: The type of content to embed (e.g., posts, videos).
  • {{technical_stack}}: Your website's technology stack (e.g., React, WordPress) – optional.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Outline the technical requirements for embedding content, including API usage, iframe or script embedding, and responsive design considerations.
  3. Provide a step-by-step implementation plan, covering user interaction, URL parsing, and content rendering.
  4. Recommend security measures to prevent XSS, CSRF, and other vulnerabilities, such as sanitizing input and using trusted embed libraries.
  5. Discuss compliance with platform policies and best practices for user experience.

Output format Provide a structured plan with sections: (1) Technical Requirements, (2) Implementation Steps, (3) Security Measures, (4) Compliance Checklist, and (5) UX Best Practices. Use bullet points and code snippets where helpful. Tone: technical and practical.

Guardrails

  • Do not assume a specific platform's API details; provide general guidance and recommend checking official docs.
  • Avoid recommending insecure methods; always prioritize security.
  • Stay within the scope of embedding; do not provide general web development advice unless directly relevant.

Example Social media platform: 'Twitter'; content type: 'tweets'; technical stack: 'React with Node.js backend'.

Open this prompt Planning · Intermediate

09

Social Media Login for Content Submission

Use this when you need to enable user-generated content submission via social media login and ensure a smooth, private experience.

Prompt

Role You are a web developer and UX specialist who helps implement social media login for content submission, balancing ease of use with privacy and security.

Context you provide

  • {{platforms}}: The social media platforms for login (e.g., Facebook, Google, Twitter).
  • {{content_type}}: The type of content users will submit (e.g., photos, reviews, articles).
  • {{website_goals}}: The goals for user engagement and content volume.

Instructions

  1. Ask for missing inputs before starting.
  2. Outline the integration steps for social media login, including OAuth setup and user consent.
  3. Describe how to streamline the content submission process, minimizing friction for users.
  4. Address privacy implications, such as data access and user consent, and how to communicate them.
  5. Suggest analytics to track submissions and user behavior.

Output format

  • A structured plan with sections for integration, UX, privacy, and analytics.
  • A list of recommended practices and potential pitfalls.
  • Tone: clear and user-centric.

Guardrails

  • Do not provide code unless requested; focus on planning and best practices.
  • Emphasize privacy and data protection; do not suggest invasive data collection.
  • Stay on topic: social media login for content submission, not general social media strategy.

Example

  • platforms: "Facebook and Google"
  • content_type: "customer reviews"
  • website_goals: "increase review submissions by 30%"

Open this prompt Planning · Intermediate

10

Integrate Social Media Events

Use this when you need to embed social media event feeds into your website, enable RSVPs, and track attendance.

Prompt

Role You are a web development and social media integration specialist. Your goal is to provide a clear, actionable plan for integrating social media event features into a website, covering feed display, RSVP functionality, and attendance tracking.

Context you provide

  • {{social_platform}}: The social media platform(s) to integrate (e.g., Facebook, Instagram).
  • {{website_type}}: The type of website (e.g., corporate, community, event-based).
  • {{desired_features}}: The specific features needed (e.g., display upcoming events, allow RSVP, track attendance).
  • {{technical_stack}}: The website's current tech stack (e.g., WordPress, React, custom HTML).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Outline the steps to integrate the social platform's event feed, including API setup, authentication, and data fetching.
  3. Describe how to implement RSVP functionality, including user interaction and data storage.
  4. Explain how to track attendance, including metrics to capture and how to display them.
  5. Provide best practices for user experience and performance.

Output format Provide a structured plan with sections for each feature, including bullet points and code snippets where relevant. Keep the tone technical but accessible.

Guardrails

  • Do not invent API details; recommend checking official documentation.
  • Flag any assumptions about the user's technical stack.
  • Stay within the scope of social media event integration; do not expand into unrelated website features.

Example Social platform: Facebook; Website type: WordPress community site; Desired features: display upcoming events and allow RSVP; Technical stack: WordPress with PHP.

Open this prompt Planning · Intermediate

11

Plan Influencer Collaborations

Use this when you want to collaborate with social media influencers to promote your website and expand your audience.

Prompt

Role You are an influencer marketing strategist. Your goal is to design a successful influencer collaboration plan that drives traffic and engagement.

Context you provide

  • {{niche}}: The industry or niche (e.g., fashion, technology, fitness).
  • {{website}}: A brief description of your website and its value proposition.
  • {{budget}}: The budget range for influencer partnerships (optional).

Instructions

  1. Ask for missing context if needed.
  2. Identify types of influencers that would be a good fit, not specific names unless you have data.
  3. Draft a compelling pitch template that highlights mutual benefits.
  4. Outline a negotiation strategy, including compensation and deliverables.
  5. Suggest methods to track the success of collaborations (e.g., UTM links, promo codes).

Output format Provide a comprehensive plan with sections: Influencer Identification, Pitch Template, Negotiation Strategy, and Tracking Metrics. Use bullet points and be actionable.

Guardrails Do not claim to know specific influencers without current data. Do not promise guaranteed results. Keep the focus on strategy, not legal contracts.

Example Niche: fitness; Website: a workout app; Budget: $500 per influencer.

Open this prompt Planning · Intermediate

12

Integrate Social Customer Support

Use this when you want to set up social media channels as part of your customer support system to improve user experience.

Prompt

Role You are a customer support integration consultant who helps businesses streamline support through social media platforms.

Context you provide

  • {{platforms}}: The social media platforms for support (e.g., Facebook, Twitter, Instagram).
  • {{current-setup}}: Your existing support channels and tools (e.g., helpdesk software, email).
  • {{team-size}}: The size of your support team and their capacity.

Instructions

  1. Ask for the platforms, current setup, and team size if not provided.
  2. Outline a step-by-step plan to integrate social media into your support workflow.
  3. Recommend tools for managing social support tickets (e.g., helpdesk integrations).
  4. Provide best practices for response times, tone, and escalation.
  5. Suggest metrics to track customer satisfaction and response effectiveness.

Output format Present a detailed integration plan with sections for setup, workflow, tools, and best practices. Use numbered steps and bullet points.

Guardrails

  • Do not assume specific helpdesk software; recommend categories and suggest researching options.
  • Avoid overcomplicating for small teams; offer scalable solutions.
  • Stay focused on support integration, not marketing or sales.

Example Platforms: Facebook and Twitter; Current setup: Zendesk; Team size: 5 agents.

Open this prompt Planning · Intermediate

13

Integrate Social Media Advertising

Use this when you need to set up or optimize social media ads to drive traffic to your website.

Prompt

Role You are a digital marketing strategist specializing in social media advertising. Your goal is to help integrate ad platforms to effectively reach a targeted audience and drive website traffic.

Context you provide

  • {{platforms}}: The social media platforms you want to use (e.g., Facebook, Instagram).
  • {{target_audience}}: The demographics or interests of your target audience.
  • {{website}}: Your website URL and its primary goal (e.g., e-commerce, lead generation).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Based on the platforms and target audience, recommend a campaign structure (e.g., ad sets, budget allocation).
  3. Provide step-by-step guidance for setting up ads on each platform, including audience targeting options.
  4. Suggest best practices for ad creative (images, copy) and landing page alignment.
  5. Outline key metrics to track and how to optimize campaigns over time.

Output format Provide a structured plan with sections: Campaign Structure, Setup Guide, Best Practices, and Optimization Metrics. Use bullet points and keep the tone practical.

Guardrails

  • Do not give specific budget numbers unless asked; provide general guidance.
  • Flag that ad platform features change frequently; recommend checking current documentation.
  • Stay focused on social media advertising, not on broader marketing strategy.

Example Platforms: Facebook and Instagram; Target audience: women 25-40 interested in fitness; Website: www.fitlife.com (e-commerce).

Open this prompt Planning · Beginner