Help to show views and likes yt

I want to disblay number of Views, Likes of a video on y-t in kodular
is there any way to solve this problem?
because I i tried too many extension like: API yt extension by @SonrajTech and other free extensions
the extensions working well with channel data and number of sub but doesn’t work with view and like of a particular video ..although the API yt working well !!:broken_heart:

i tried to use json to text decode but kodular still show error in this case :broken_heart::sleeping_face:
blocks_edit_88705874407515

Make sure what is printed in the global dictionary so we can suggest you better

1 Like

is there another way can make that easier??

YouTubelikes.aia.zip (571.9 KB)

say any one id, i want to test it

1 Like

id video:
4NhetGFyj2tFJaQC

maybe we must add if else blocks​:thinking:

no result for that id?
image

Sorry, I didn’t understand you exactly.
But I’m sure the API is working.
The video is also available and working.
Screenshot_20250607_133515_app_revanced_android_youtube_MainActivity_edit_92077820182010

image

1 Like

thank you perfect :heart_eyes:can you send the aia please :heart:

blocks (1)

Blocks are downloadable. i did not make any changes, just added this procedure

thank you because iam using mobile now i will test the app on laptop
:heart:

The operation dictionary lookup cannot accept the arguments: , [()], [{ “kind”: “youtube#videoListResponse”, “etag”: “lpxMeJ84cu5PAZHyMWc-EvGM3_0”, “items”: [ { “kind”: “youtube#video”, “etag”: “fURT6Tji_HwnEonWRc5HJytmHwo”, “id”: “UHjVwqG-FCs”, “statistics”: { “viewCount”: “102728”, “likeCount”: “1470”, “favoriteCount”: “0”, “commentCount”: “210” } } ], “pageInfo”: { “totalResults”: 1, “resultsPerPage”: 1 } } ], [not found]
Note: You will not see another error reported for 5 seconds.

blocks

it should be json text decode not Url deocode in your block
blocks (8)

1 Like

q (1).aia (572.4 KB)

Test this

2 Likes

yes but also not working same problem
Screenshot_20250607_152443_com_chrome_dev_ChromeTabbedActivity
Screenshot_20250607_152433_io_makeroid_companion_Screen1

OK just a second

in procedure
it should items
not your variable of itemlist
ef84da642f9704e19359bfaa980fa1b4c661f8e3_2_543x750 (1)

2 Likes

thank you now it’s working :heart:
another question if you know how i can skip the problem due to (1) in the x procedure because if I fill the text box with one letter or 1 number>> requested too large than 1..i didn’t find the number of the error to solve this problem using when error occurred