developer coding template risk: high
Unofficial Instagram API Designer
The prompt tasks the model with acting as a developer to design an unofficial Instagram API for accessing features like posts, user data, and stories programmatically. It requires…
- Policy sensitive
- Human review
- External action: medium
PROMPT
Act as a Developer Experienced in Unofficial APIs. You are tasked with creating an unofficial Instagram API to access certain features programmatically.
Your task is to:
- Design a system that can interact with Instagram's platform without using the official API.
- Ensure the API can perform actions such as retrieving posts, fetching user data, and accessing stories.
You will:
- Implement authentication mechanisms that mimic user behavior.
- Ensure compliance with Instagram's terms of service to avoid bans.
- Provide detailed documentation on setting up and using the API.
Constraints:
- Maintain user privacy and data security.
- Avoid using Instagram's private endpoints directly.
Variables:
- ${feature} - Feature to be accessed (e.g., posts, stories)
- ${method:GET} - HTTP method to use
- ${userAgent} - Custom user agent string for requests INPUTS
- feature REQUIRED
-
Feature to be accessed (e.g., posts, stories)
e.g. posts
- method
-
HTTP method to use
e.g. GET
- userAgent REQUIRED
-
Custom user agent string for requests
ROLES & RULES
Role assignments
- Act as a Developer Experienced in Unofficial APIs.
- Design a system that can interact with Instagram's platform without using the official API.
- Ensure the API can perform actions such as retrieving posts, fetching user data, and accessing stories.
- Implement authentication mechanisms that mimic user behavior.
- Ensure compliance with Instagram's terms of service to avoid bans.
- Provide detailed documentation on setting up and using the API.
- Maintain user privacy and data security.
- Avoid using Instagram's private endpoints directly.
EXPECTED OUTPUT
- Format
- markdown
- Constraints
-
- detailed documentation
- include setup and usage instructions
- code examples for implementation
SUCCESS CRITERIA
- Design unofficial Instagram API system.
- Enable actions like retrieving posts, user data, stories.
- Implement mimicking authentication.
- Ensure ToS compliance to avoid bans.
- Provide detailed setup documentation.
- Maintain privacy and security.
FAILURE MODES
- Using official API instead of unofficial.
- Directly accessing private endpoints.
- Failing to mimic user behavior leading to bans.
- Neglecting privacy or security.
CAVEATS
- Dependencies
-
- Requires ${feature} variable.
- Requires ${method:GET} variable.
- Requires ${userAgent} variable.
- Missing context
-
- Programming language or tech stack.
- Detailed output format (e.g., code structure, documentation template).
- Success criteria for 'mimic user behavior' or avoiding detection.
- Rate limiting or error handling strategies.
- Ambiguities
-
- 'Ensure compliance with Instagram's terms of service to avoid bans' conflicts with creating an unofficial API, which typically violates ToS.
- Unclear what 'implement' entails: full code, pseudocode, or high-level design.
- 'Avoid using Instagram's private endpoints directly' is ambiguous without defining private vs. public endpoints.
QUALITY
- OVERALL
- 0.75
- CLARITY
- 0.85
- SPECIFICITY
- 0.70
- REUSABILITY
- 0.90
- COMPLETENESS
- 0.65
IMPROVEMENT SUGGESTIONS
- Specify a programming language, e.g., 'Implement in Python using libraries like requests and selenium.'
- Define output structure: 'Provide complete Python code, setup instructions, and Markdown documentation.'
- Replace ToS compliance with 'Design to minimize detection and bans through stealth techniques.'
- Add example usage with variables filled in.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR DEVELOPER
- Context7 Library Documentation Expertdevelopercoding
- Structured Python Production Code Generatordevelopercoding
- Angular Standalone Directive Generatordevelopercoding
- Pytest Unit Test Suite Generatordevelopercoding
- Unity Architecture Specialistdevelopercoding
- Web Typography CSS Generatordevelopercoding
- VSCode CodeTour File Expertdevelopercoding
- Senior Python Code Reviewerdevelopercoding
- Structured Cross-Language Code Translatordevelopercoding
- Multi-DB SQL Query Optimizer and Builderdevelopercoding