jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
776 stars 234 forks source link

Streaming API 401 error #194

Closed chauhan-vaishali closed 7 years ago

chauhan-vaishali commented 7 years ago

I have been using the streaming api for couple of weeks but it has stopped working a week ago and returning 401 error code. I have figured out my IP is blocked because of multiple connections. Can you let me know best practices to use this api?

joshuaatkins commented 7 years ago

Hi chauhan-vaishali,

Can you confirm your IP?

Thanks,

Josh

On 10 Jan 2017, at 11:37, chauhan-vaishali notifications@github.com wrote:

I have been using the streaming api for couple of weeks but it has stopped working a week ago and returning 401 error code. I have figured out my IP is blocked because of multiple connections. Can you let me know best practices to use this api?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jublonet/codebird-php/issues/194, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoMzDezlqkXN1BkPWrnVQ5Liazu3DOVks5rQ218gaJpZM4LfUAj.

chauhan-vaishali commented 7 years ago

Hi,

It's a shared hosting, don't have IP but this is the domain - fbdigital.hungama.org

Thanks, VC

vangithub1992 commented 7 years ago

Hi, i've got same issue. Tweets are posting but when I trying to start stream, I've got:

{#621
  +"httpstatus": "401"
  +"rate": null
}

And nothing can help me. I've set up new app, changed my credentials, used proxy. Can this trouble be in that my virtual server has a 67 seconds delay?

chauhan-vaishali commented 7 years ago

Hello vangithub1992,

This may help you understand the problem. https://twittercommunity.com/t/streaming-api-connection-limiting/61006 https://twittercommunity.com/t/how-to-fix-a-suspended-user/63378

Thanks, VC