dongmie3987067 2015-11-05 05:21
浏览 61

检查用户在Instagram中拥有帐户,而无需将abd登录重定向到Instagram

I am new here so please ignore by grammatical mistakes. i am working on the php site where we need to check whether user having account in Instagram or not by username and password, without redirecting to Instagram site nor login into Instagram site.

Same as https://instagress.com/

After we signup, it asks instagram username and password, if we enter wrong username or password then it show error message. If details are correct then it show next page but we are not login in Instagram too. Can anyone help me?

  • 写回答

1条回答 默认 最新

  • dqeq885710 2015-11-05 09:26
    关注

    You can check if user having account in Instagram just only by his LOGIN or USER-ID.

    For LOGIN:

    You may check if page https://instagram.com/LOGIN/ exists and consist user's data.

    You may search user by login with API: https://api.instagram.com/v1/users/search?q=LOGIN&client_id=CLIENT-ID and search LOGIN in response (count=1 not work as expected). Read more about Search Endpoint.

    For USER-ID:

    You may check it only with API: https://api.instagram.com/v1/users/USER-ID/?client_id=CLIENT-ID. For private accounts it also return mistake, but the mistake is different for private accounts and deleted accounts.

    About API (USER-ID and CLIENT-ID) read more here.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?