arduino-instagram-stats icon indicating copy to clipboard operation
arduino-instagram-stats copied to clipboard

Failed to return followers

Open Geniusness opened this issue 6 years ago • 6 comments

Can't seem to get this to return the followers. I've tried multiple ESP8266s and ESP32s with no luck. I've tried different urls, tried ?__a=1, tried instagram.com/web/search/topsearch/?query=@...nothing.

When debugging on an ESP8266, , I'm seeing "BSSL: Connection will fail, no authentication method is setup:wr 222 0", but goes away after uncommenting the client.setInsecure();. Still get 0 results after uncommenting though.

I've tried different keys that I've found going through the json, but I didn't think that was the issue. Watched your YouTube video and read everything I can find to try to get this working. This post is my last resort.

Is the code working for other people? I'm wondering if something happened with the Instagram data like in the previous issues I've seen posted. Really hoping to be able to get this working!

Geniusness avatar Feb 17 '19 13:02 Geniusness

I tested this today and it didnt work for me either, it was working fine a few weeks ago so I guess something has changed.

I looked into it a bit and it seems like the parsing is still the correct format, but the timeout built into the library triggers before all the data comes back

https://github.com/witnessmenow/arduino-instagram-stats/blob/master/src/InstagramStats.cpp#L130

I changed this line to have 10000 instead of 3000 and it worked for me. Would you mind testing the same?

Brian

On Sun, 17 Feb 2019 at 13:52, Genius [email protected] wrote:

Can't seem to get this to return the followers. I've tried multiple ESP8266s and ESP32s with no luck. I've tried different urls, tried ?__a=1, tried instagram.com/web/search/topsearch/[email protected].

When debugging on an ESP8266, , I'm seeing "BSSL: Connection will fail, no authentication method is setup:wr 222 0", but goes away after uncommenting the client.setInsecure();. Still get 0 results after uncommenting though.

I've tried different keys that I've found going through the json, but I didn't think that was the issue. Watched your YouTube video and read everything I can find to try to get this working. This post is my last resort.

Is the code working for other people? I'm wondering if something happened with the Instagram data like in the previous issues I've seen posted. Really hoping to be able to get this working!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-instagram-stats/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwoA1claJHWKTz-CzixXnF0VOvsq9ks5vOV6AgaJpZM4a_kbt .

witnessmenow avatar Feb 17 '19 15:02 witnessmenow

Hey Brian, thanks for the quick response!

I went ahead and tested this on both ESP8266 and ESP32.

With the ESP 8266, 10000 did not work for me, but 20000 did! I also definitely need setInsecure uncommented.

With the ESP32, I tried 10000, 20000, and 30000 and all returned 0. So it's still failing to return results on the ESP32.

Geniusness avatar Feb 18 '19 02:02 Geniusness

I encountered the same problem and found this issue. For me I had to change to 30000 and uncomment setInsecure in order to get it working. I'm using latest ESP8266 Core 2.5 and testing on NodeMCU, Wemos D1 mini and ESP-01 boards. Still haven't tested on ESP32.

vezilka avatar Mar 08 '19 10:03 vezilka

hi I change to 30000 but I still the same error. In which file did you modify setinsecure

tigroouu avatar Mar 27 '19 23:03 tigroouu

The Arduino sketch

On Wed, 27 Mar 2019, 23:46 tigroouu, [email protected] wrote:

hi I change to 30000 but I still the same error. In which file did you modify setinsecure

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-instagram-stats/issues/8#issuecomment-477389035, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwkde5prB0F4K9W_-1QMraVq2jeGSks5vbALrgaJpZM4a_kbt .

witnessmenow avatar Mar 28 '19 06:03 witnessmenow

Hey Brian, thanks for the quick response!

I went ahead and tested this on both ESP8266 and ESP32.

With the ESP 8266, 10000 did not work for me, but 20000 did! I also definitely need setInsecure uncommented.

With the ESP32, I tried 10000, 20000, and 30000 and all returned 0. So it's still failing to return results on the ESP32.

unfortunitly this doesnt work with my esp8266, what do you mean by "setInsecure uncommented"? Im sorry Im completely new to this

wollinator85 avatar May 19 '19 11:05 wollinator85