Easy Prompt
代码能力代码进阶

创建非官方Instagram API

设计一个可以程序化访问Instagram功能的非官方API,涵盖帖子、用户数据和故事等,同时确保符合服务条款。

提示词正文

复制后可直接粘贴到模型或内部评测工具。

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

使用场景

程序员需要访问Instagram数据但无官方API权限构建Instagram数据分析工具开发者学习非官方API设计

参考输出

提供API设计文档、示例代码和认证机制说明

评分维度

评分标准:API设计合理性(30%)、安全合规性(30%)、文档清晰度(20%)、代码质量(20%)

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词