Closed dzbao closed 1 year ago
The service works well in last 7 days. And I believe I have used for around 60,000 requests which is less than 100, 000 requests/month.
Besides, when I try the api v1/user/by/username, there's another problem: Maybe this can help you to fix the bug~
It works now. It seems like that waiting for some hours can handle this problem. Anyway, thanks for your service~
Sorry for bothering you, but My service dose not work now. I check the server for the script and I found nearly every request shows that: Too Many Redirects. And several of them shows that Instagram Server Error. I try to use different procy and online 'try it out', it still does not work. Could u help me? Thanks!
Here's my code:
def getUserFollowing(userID):
cnt = 0
while cnt < 3:
headers = {
'accept': 'application/json',
'x-access-key': 'xxxxxx', # My Lamadava Access Key
}
params = {
'user_id': userID,
'amount': '0'
}
req = requests.get('https://api.lamadava.com/v1/user/following', params=params, headers=headers)
if req.status_code == 200:
if type(json.loads(req.text)) == type({}):
print("[Get-User-Following-INFO]" + json.loads(req.text)['exc_type'])
return None
else:
return json.loads(req.text)
else:
cnt += 1
return None
Now I receive a new error info: No free accounts. I want to know that this is some problem of my own Lamadava account or it is caused by your service TAT. If it is caused by your service, I do deeply hope that it can be fixed soon.
@adw0rd Druing last 3 days, I find that the problem usually happened between 00:00 (UTC) to 06:00 (UTC). Although there's enough time for me to get data in a day. But it still cause some problem and make meaningless bill cost for Lamadava. I'll appreciate it that you'll reply soon. Thanks.
@SoonWhy this occurs when instagram massively bans accounts, and at this time I'm sleeping and I can't react. I will try to fix this problem this month
When I use the Lamadava Service (v1/user/by/id) today, it does not work with the error: Too many redirects.
And when I try the api online at https://api.lamadava.com/docs#/, it shows the same info:
I've tried to change the api.lamadava.com to api.instagrapi.com but it still does not work.
Could U help me with it? Thank U!