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

Add Latest Post Liked By Count

Open bulldogm11 opened this issue 5 years ago • 7 comments

Brian, Any chance you can add the recent post likes count?

The path should be: "edge_saved_media","edges","0","node","edge_liked_by".

Is it as simple as creating a new string value with that parent path?

void InstagramUserListener::value(String value) { if (currentParent == "xxxxxxxxxxx") { if (currentKey == "count") { userStatsResponse.likedByCount = value.toInt(); } }

Thanks!

Brandon

bulldogm11 avatar Mar 12 '20 21:03 bulldogm11

Brian, I've managed to pull the "edge_liked_by" count. Are you interested in working with me to combine both into your library or a new library? Brandon

bulldogm11 avatar Mar 13 '20 21:03 bulldogm11

Brian, I've managed to pull the "edge_liked_by" count. Are you interested in working with me to combine both into your library or a new library? Brandon

Hey, I would be very interested in getting the number of like on last post, could you please share how you managed to do it :)? Thank you in advance!!!

nora-fatehi avatar Apr 15 '20 10:04 nora-fatehi

I am also very interested in adding this option to the library.

krupaw2 avatar Jun 18 '20 09:06 krupaw2

I figured it out, I will try to find my files, I'll let you know :)

nora-fatehi avatar Jun 18 '20 10:06 nora-fatehi

I figured it out, I will try to find my files, I'll let you know :)

Any update on the liked post setting?

RedStarGlow avatar Sep 02 '20 21:09 RedStarGlow

Hi, sure sorry I totally forgot but basically i just changed one fonction on the original library:

void InstagramUserListener::value(String value) { if (currentParent == "edge_liked_by") { if (currentKey == "count") { userStatsResponse.followedByCount = value.toInt(); } } }

here's my file :) InstagramLikes.zip

I figured it out, I will try to find my files, I'll let you know :)

Any update on the liked post setting?

nora-fatehi avatar Sep 04 '20 08:09 nora-fatehi

I understand that you only changed the key that was downloaded and now it returns you another one.

I would like the library to return 3 data from Instagram: ['graphql']['user']['edge_follow']['count'] ['graphql']['user']['edge_followed_by']['count'] ['graphql']['user']['edge_owner_to_timeline_media']['edges'][0]['node']['edge_liked_by']['count']

I've been struggling with it for a few days but unfortunately it doesn't work out.

Anyone have an idea or a ready solution for downloading 3 data at the same time?

krupaw2 avatar Oct 14 '20 20:10 krupaw2