首页 文章
  • 0 votes
     answers
     views

    Instagram Bot:使用Selenium Python点击Firefox中的按钮

    我正在制作Instagram Bot(来自YT教程),我无法通过登录后出现的“Turn On Notifications”弹出窗口 . I want to click "Turn On" 如何点击按钮?这是xpath以及我在检查后看到的内容 . Xpath的: /html/body/div[2]/div/div/div/div[3]/button[1] 检查: <but...
  • 67 votes
     answers
     views

    如何获得Instagram访问令牌

    我真的在努力获取Instagram的访问令牌, 我已经注册了一个新客户端,然后我使用了这个URL https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code 填写客户ID并重定向Url . 然后我被重定向到一个页面,它在Url中...
  • 3 votes
     answers
     views

    Instagram访问令牌以检索任何用户Feed

    我可以使用相同的access_token获取 any users feed是否正常?这是两个例子 . 第一个来自测试帐户,这是我应该访问的 . 第二个来自ImagineDragons的Instagram Feed . https://api.instagram.com/v1/users/510573486/media/recent?access_token=510573486.ab7d4b6.d...
  • 0 votes
     answers
     views

    Instagram:Client_id将我重定向到找不到的页面

    我正在开发一个与instagram交互的xcode应用程序,我用来创建client_id并测试它们并且它运行得很好,但最近新的client_id将我重定向到找不到页面的页面: https://instagram.com/oauth/authorize?response_type=token&redirect_uri=[REDIRECT_URI]&scope=comments+lik...
  • 0 votes
     answers
     views

    获取acccess令牌

    我试试: curl -F'client_id = CLIENT ID'-F'client_secret = CLIENT SECRET'-F'grant_type = authorization_code'-F'redirect_uri = URL'-F'code = CODE '\ _https://api.instagram.com/oauth/access_token 并获得“哎呀,发生错误...
  • 3 votes
     answers
     views

    如何使用jQuery或php从Instagram令牌获取访问令牌

    我是Instagram API的新手,我发现了一些问题,要了解如何获取访问令牌 . 我所做的是在instagram注册,创建了一个应用程序,并使用了客户端ID和重定向URL,当我将以下内容发布到浏览器中时,我给出了一个代码=令牌 https://api.instagram.com/oauth/authorize/?client_id=65c3052cc4494f87bc7f941b61b1f3f5...
  • 0 votes
     answers
     views

    使用HtmlUnit从instagram获取访问令牌

    由于httpURLconnection没有删除,我切换到htmlUnit以编程方式获取auth代码以从instagram获取访问令牌,然后从那里做我需要的任何东西,事情是我被困在尝试从URL检索授权代码 mysite.com/?code=ca1ec5b06a0b409293cff74ed9876a46 但我无法访问该链接,因为它似乎没有从授权URL重定向 . 这个: https://inst...
  • 2 votes
     answers
     views

    从Instagram获取访问令牌以获取PHP上的API

    我有使用url的代码:https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code 之后在Instagram文档上给出了这段代码: curl -F 'client_id=CLIENT_ID' \ -F 'client_secret...
  • 0 votes
     answers
     views

    生成永久Instagram访问令牌

    我们有Instagram客户端ID和客户端密码,并且已经完成了生成访问令牌的文档,这需要重定向URL . Note that we also have disabled the implicit OAuth flow. 现在我们已经使用下面的URL生成了访问令牌(对于经过身份验证的用户,它会返回响应URL中附加的访问令牌) https://api.instagram.com/oauth/autho...
  • 0 votes
     answers
     views

    Instagram php laravel访问令牌

    我能够从instagram api获取代码 . 下一步是将client_id,client_secret,grant_type,redirect_uri和代码发布到https://api.instagram.com/oauth/access_token,如下所示 . instagram API表示“您只需将此代码以及一些应用识别参数发布到我们的access_token endpoints . ”...
  • 0 votes
     answers
     views

    Instagram错误“你不能喜欢这种媒体”?

    我正在使用instagram API开发我的应用程序 . 在我的应用程序中,我允许用户喜欢其他媒体 . 为此,我使用跟随url的参数,如mediaId和accessToken . “https://api.instagram.com/v1/media/%@/likes?access_token=%@”,mediaId,accessToken 问题是有时候我收到错误“你不能喜欢这种媒体” . 如果您...
  • 1 votes
     answers
     views

    无法从Instagram API获得评论

    今天我创建了一个帐户并将其作为沙箱用户列表现在我提出了请求(https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN)现在我无法从instagram api响应中获取评论数据 . 我能够获得多少评论,但无法获得评论数据 . 我在进行身份验证时是否遗漏了或者我们是否需要任何特定的访问权限?
  • 16 votes
     answers
     views

    Instagram / v1 / tags / {tag-name} / media / recent endpoints 不会在分页块中返回min_tag_id

    根据https://www.instagram.com/developer/endpoints/tags/,我们曾经在https://api.instagram.com/v1/tags/tag-name/media/recent?access_token=ACCESS-TOKEN响应的分页部分中获取 min_tag_id ,然后我们在请求中使用该部分来轮询更新的帖子 . 截至今天早上,我们看到In...
  • 1 votes
     answers
     views

    分页/位置/位置id /媒体/最近的Instagram

    我正在使用Instagram API的 https://api.instagram.com/v1/locations/{location-id}/media/recent endpoints 来获取特定位置的帖子,但我遇到了实现分页的问题 . 请求https://api.instagram.com/v1/locations/106970059456743/media/recent?ACCESS_...
  • 12 votes
     answers
     views

    如何在没有用户交互的情况下获得instagram access_token(新api)?

    随着instagrams新的api更改,似乎没有办法在没有某种用户交互的情况下获得access_token . 我发现的所有文档都表明,在通过用户交互授权应用程序时,必须通过loggin:https://www.instagram.com/developer/authentication/: 服务器端(明确)流程第一步:将用户引导至我们的授权URL https://api.instagram.c...
  • 0 votes
     answers
     views

    Instagram API EndPoint“/ tags / tag-name / media / recent”没有正确地从android返回视频

    我遇到了Instagram API的一个非常奇怪的问题 . 当我从Android设备发布视频宽度特定标签时,我无法从API EndPoint“/ tags / tag-name / media / recent”获取它 . https://api.instagram.com/v1/tags/ / media / recent?client_id = 这不是私人/公共问题,因为我的照片是使用此En...
  • 0 votes
     answers
     views

    通过Instagram API获取照片和喜欢的PHP

    在这里使用Instagram client_id API请求时: https://api.instagram.com/v1/users//media/recent/?client_id=YOUR-CLIENT_ID 我实际上可以在JSON响应中看到图像url和like-count,但无法弄清楚如何提取两者 . 我似乎只能像这样提取图像: <?php if (!empty($_GET[...
  • 1 votes
     answers
     views

    Instagram在实时模式下“此用户不存在”错误

    我在点击获取最近的媒体 endpoints 时遇到以下错误: "error_type": "APINotFoundError", "code": 400, "error_message": "this user does not exist" 注意事项:1)应用程序处于实时模式,基本权限已获批准 ...
  • 1 votes
     answers
     views

    Instagram API权限下降

    我有Instagram API的访问令牌,但当我尝试使用此URL访问标记的 endpoints 时:https://api.instagram.com/v1/tags/kuwait/media/recent?access_token=my-access-token ******* 表明: {“meta”:{“error_type”:“OAuthPermissionsException”,“cod...
  • 1 votes
     answers
     views

    通过API从用户的Feed中加载instagram图像

    我试图只显示客户在其网站上传到Instagram的图像 . 客户端的用户ID#为176722013.根据API,此URL将提供此类提要:https://api.instagram.com/v1/users/176722013/media/recent 如错误消息所示,我需要提供client_id或auth_token . 由于我不想处理身份验证,我继续在Instagram开发人员中创建了一个“ap...
  • 1 votes
     answers
     views

    Instagram api分页对象在实时模式下变为空白(空)

    我们在使用PHP(Codeigniter 3)的Instagram API调用部分面临一个主要问题 . 首先,我们想告诉您我们的应用程序处于实时模式,我们非常肯定 . 在20个图像之后,分页URL对象变为空白,我们尝试使用该部分上的COUNT参数以及next_max_id和next_min_id的不同方式,但都是徒劳的 . 所以请为我们提供一些新的方法来完成这一部分 . 我们不能根据我们的要求在此...
  • 0 votes
     answers
     views

    Instagram API:不推荐使用users / self / media / recent API,那么获取Regular Instagram帐户最近用户帖子的替代方法是什么?

    根据以下更改日志url - users/self/media/recent API已弃用 参考网址是https://www.instagram.com/developer/changelog/ 在我们的应用程序中,我们使用了https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN API,...
  • 3 votes
     answers
     views

    从Instagram API查看Instagram图像时,URL签名过期错误

    我从instagram API获取instagram图像 . (终点:https://api.instagram.com/v1/users/self/media/recent?access_token=) . 然后我保存从数据库中的API调用返回的图像URL,并在前端使用它们 . 图片网址在下面 . 示例网址:https://scontent.cdninstagram.com/vp/xxx/xx...
  • 0 votes
     answers
     views

    在Windows Phone上请求access_token时,Instagram API返回错误

    我一直在尝试将Instagram API集成到我的应用程序中,但我仍然坚持使用身份验证 . 当我刚刚使用隐式流版本时,我让它完全正常工作,它给了我access_token作为URI片段的一部分 . 但是,现在我改为服务器端流程,我在用户登录后收到代码 . 然后我将这些代码发布到访问令牌URL,然后会给我access_token以及有关的某些信息 . 用户,例如他们的用户名和 Profiles 图片...
  • 0 votes
     answers
     views

    Instagram标签最近的搜索始终返回null数组

    我想找到特定的标签媒体和这些信息 . 并且,遵循instagram API文档 . 但是,特定标签媒体API总是返回null数组 . 我尝试了这一步 . 获取AccessToken https://api.instagram.com/oauth/authorize/?client_id=[C_ID]&redirect_uri=http://localhost:3001/instagra...
  • 5 votes
     answers
     views

    API请求注释POST endpoints 在Instagram上拒绝

    我想使用Instagram API在Instagram上发表评论 . 我们需要特殊权限才能发布评论 . 我在https://help.instagram.com/contact/185819881608116请求选项"Provide customer service"两次 . 但是他们拒绝了要求说... “我们已审核了您的申请,并确定您的请求不符合我们对此 endpoints ...
  • 1 votes
     answers
     views

    Instagram API POST endpoints 的新(ish)要求

    我写了一个python脚本(自动喜欢给定用户定义的主题标签列表的mediaID),它使用python-instagram库访问instagram API endpoints POST /media/media-id/likes . 该计划已经运行了近一年,许多朋友(和其他人)从那时起就开始使用它 . 所以我今天尝试通过注册一个新的Instagram客户端来 Build 另一个人 . 然后我在开发人...
  • 1 votes
     answers
     views

    instagram api - 达成和参与

    我检查了Instagram API的文档:https://www.instagram.com/developer/endpoints/ 问题是我无法找到一个 endpoints 来检索覆盖范围(有多少独特的人看到一个特定的帖子),也找不到 endpoints 来检索参与人数 . 例如,在Facebook上,这两个指标被称为 post_impressions_unique 和 post_engage...
  • 1 votes
     answers
     views

    Instagram API仅返回正方形(裁剪)图像

    1年前Instagram迁移了API以支持横向和纵向格式 . 看起来上周api正在返回裁剪的方形图像 . 示例:https://www.instagram.com/p/BHLY4N0jMfA/(图像不是正方形) Api endpoints (https://api.instagram.com/v1/tags/igapitest/media/recent)返回裁剪的方形图像: ... images:...
  • 4 votes
     answers
     views

    使用Instagram API上传媒体

    目前我们正在将Instragram与我们的平台集成,并且需要一项功能来自动上传媒体(如youtube和facebook) . 我们已经进入了开发人员门户网站,没有找到有关媒体上传的文档 . 我已经谷歌搜索了一段时间,没有积极的结果 . 以下url(instagram官方API)列出了 endpoints . 它只有GET媒体相关的API https://www.instagram.com/dev...

热门问题