Why youtube API from some channels return wrong views statistics?How do I get a YouTube video thumbnail from the YouTube API?How can I get a channel ID from YouTube?PHP YouTube Data API get channel information without oathYouTube Data API - Get Channel ID from EmailYoutube Channel List Api - not returning data in orderYouTube API V3 not returning “statistics” part for /videos endpointnot getting result from youtube channel:list apiYoutube API - Difference between number of videos from channel statistics and number of videos uploadedyoutube api doesn't show its full channel listPlaylist from YouTube Live Channel using API

Meaning and structure of headline "Hair it is: A List of ..."

Is this bar slide trick shown on Cheers real or a visual effect?

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

How do I ask for 2-3 days per week remote work in a job interview?

Adding things to bunches of things vs multiplication

Why do so many people play out of turn on the last lead?

How can I change the movement to Linear?

The Lucky House

What's the relationship betweeen MS-DOS and XENIX?

What is the fastest way to level past 95 in Diablo II?

Why should I pay for an SSL certificate?

What if a restaurant suddenly cannot accept credit cards, and the customer has no cash?

Is the Microsoft recommendation to use C# properties applicable to game development?

Unconventional examples of mathematical modelling

What does a comma signify in inorganic chemistry?

How to train a replacement without them knowing?

Why is su world executable?

Eric Andre had a dream

Can I use images from my published papers in my thesis without copyright infringment?

How do I answer an interview question about how to handle a hard deadline I won't be able to meet?

What's the point of writing that I know will never be used or read?

Why is the battery jumpered to a resistor in this schematic?

Quick destruction of a helium filled airship?

Are there any OR challenges that are similar to kaggle's competitions?



Why youtube API from some channels return wrong views statistics?


How do I get a YouTube video thumbnail from the YouTube API?How can I get a channel ID from YouTube?PHP YouTube Data API get channel information without oathYouTube Data API - Get Channel ID from EmailYoutube Channel List Api - not returning data in orderYouTube API V3 not returning “statistics” part for /videos endpointnot getting result from youtube channel:list apiYoutube API - Difference between number of videos from channel statistics and number of videos uploadedyoutube api doesn't show its full channel listPlaylist from YouTube Live Channel using API






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















I am using youtube api, but I saw some channels return wrong statistic views number.



Example: https://www.youtube.com/user/LuisFonsiVivo/about



API CALL: https://www.googleapis.com/youtube/v3/channels?part=topicDetails,snippet,brandingSettings,statistics&key=API_KEY&id=UCxoq-PAQeAdk_zyg8YS0JqA



enter image description here



Thanks










share|improve this question
























  • I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

    – Daniel W.
    Mar 27 at 15:18

















-1















I am using youtube api, but I saw some channels return wrong statistic views number.



Example: https://www.youtube.com/user/LuisFonsiVivo/about



API CALL: https://www.googleapis.com/youtube/v3/channels?part=topicDetails,snippet,brandingSettings,statistics&key=API_KEY&id=UCxoq-PAQeAdk_zyg8YS0JqA



enter image description here



Thanks










share|improve this question
























  • I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

    – Daniel W.
    Mar 27 at 15:18













-1












-1








-1








I am using youtube api, but I saw some channels return wrong statistic views number.



Example: https://www.youtube.com/user/LuisFonsiVivo/about



API CALL: https://www.googleapis.com/youtube/v3/channels?part=topicDetails,snippet,brandingSettings,statistics&key=API_KEY&id=UCxoq-PAQeAdk_zyg8YS0JqA



enter image description here



Thanks










share|improve this question














I am using youtube api, but I saw some channels return wrong statistic views number.



Example: https://www.youtube.com/user/LuisFonsiVivo/about



API CALL: https://www.googleapis.com/youtube/v3/channels?part=topicDetails,snippet,brandingSettings,statistics&key=API_KEY&id=UCxoq-PAQeAdk_zyg8YS0JqA



enter image description here



Thanks







youtube-api youtube-data-api






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 27 at 12:57









jodacamejodacame

111 silver badge4 bronze badges




111 silver badge4 bronze badges















  • I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

    – Daniel W.
    Mar 27 at 15:18

















  • I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

    – Daniel W.
    Mar 27 at 15:18
















I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

– Daniel W.
Mar 27 at 15:18





I think you or the library you are using is turning the unsigned long 10,599,143,493 into an integer (UINT_MAX 4,294,967,295 ). The overflow is resulting in 16,345,349.

– Daniel W.
Mar 27 at 15:18












1 Answer
1






active

oldest

votes


















-1














Channels.list returns a list of channelsResource




statistics.viewCount unsigned long
The number of times the channel has been viewed.




Dummy Channel



enter image description here



Response from api test here



enter image description here



I suspect you are looking at the views for a video.






share|improve this answer

























  • He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

    – Daniel W.
    Mar 27 at 15:13











  • @jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

    – Daniel W.
    Mar 27 at 16:53










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377773%2fwhy-youtube-api-from-some-channels-return-wrong-views-statistics%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









-1














Channels.list returns a list of channelsResource




statistics.viewCount unsigned long
The number of times the channel has been viewed.




Dummy Channel



enter image description here



Response from api test here



enter image description here



I suspect you are looking at the views for a video.






share|improve this answer

























  • He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

    – Daniel W.
    Mar 27 at 15:13











  • @jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

    – Daniel W.
    Mar 27 at 16:53















-1














Channels.list returns a list of channelsResource




statistics.viewCount unsigned long
The number of times the channel has been viewed.




Dummy Channel



enter image description here



Response from api test here



enter image description here



I suspect you are looking at the views for a video.






share|improve this answer

























  • He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

    – Daniel W.
    Mar 27 at 15:13











  • @jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

    – Daniel W.
    Mar 27 at 16:53













-1












-1








-1







Channels.list returns a list of channelsResource




statistics.viewCount unsigned long
The number of times the channel has been viewed.




Dummy Channel



enter image description here



Response from api test here



enter image description here



I suspect you are looking at the views for a video.






share|improve this answer













Channels.list returns a list of channelsResource




statistics.viewCount unsigned long
The number of times the channel has been viewed.




Dummy Channel



enter image description here



Response from api test here



enter image description here



I suspect you are looking at the views for a video.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 27 at 15:04









DaImToDaImTo

50.2k12 gold badges80 silver badges268 bronze badges




50.2k12 gold badges80 silver badges268 bronze badges















  • He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

    – Daniel W.
    Mar 27 at 15:13











  • @jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

    – Daniel W.
    Mar 27 at 16:53

















  • He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

    – Daniel W.
    Mar 27 at 15:13











  • @jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

    – Daniel W.
    Mar 27 at 16:53
















He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

– Daniel W.
Mar 27 at 15:13





He is viewing the channel page, the channel viewCount and the API request is also about the channel. He is not looking at the views of a video (look at the link he provided).

– Daniel W.
Mar 27 at 15:13













@jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

– Daniel W.
Mar 27 at 16:53





@jodacame could you add a little explanation on what you did wrong? Or, how you changed the request in your question to deliver the correct results.

– Daniel W.
Mar 27 at 16:53








Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55377773%2fwhy-youtube-api-from-some-channels-return-wrong-views-statistics%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해