project_youtube_clone
project_youtube_clone copied to clipboard
Videos array Not showing
in my code i am unable to get array of the api from rapid<> Kindly have a look here: https://github.com/hassannaveed327/Youtube-Clone-V3
same here video data not fetched
u need to subscribe to the API its free
WORKS FINE NOW
THE API DOES NOT HAVE ANY DEPRECATIONS
AND STILL IF IT DOES NOT FETCH USE THE TOKEN DIRECTLY INSIDE THE FETCHDATA COMPONENT
IT SHOULD WORK..ITS A WORKAROUND NOT A FULL PROOF SOL SINCE UR KEY GETS EXPOSED..BUT IT JUST WORKS THAT'S IT
AND STILL IF IT DOES NOT FETCH USE THE TOKEN DIRECTLY INSIDE THE FETCHDATA COMPONENT
use the token directly means? not getting you new to apis
I mean don't variabalize with env file.. Hope that helps..
On Sat, Feb 4, 2023 at 1:08 AM AmitGhosh123 @.***> wrote:
AND STILL IF IT DOES NOT FETCH USE THE TOKEN DIRECTLY INSIDE THE FETCHDATA COMPONENT
use the token directly means? not getting you new to apis
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_youtube_clone/issues/10#issuecomment-1416319414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQIVR6FWSVOBF66ISB3JG2DWVVNCPANCNFSM6AAAAAARIGHIMI . You are receiving this because you commented.Message ID: @.***>
But there are issues in the project..and i am not sure which project you are talking about in particular i don't remember properly..i t has been a long time since i worked on the project but yes using directly means don't variablize..
On Sat, Feb 4, 2023 at 4:23 PM sayantan acharya @.***> wrote:
I mean don't variabalize with env file.. Hope that helps..
On Sat, Feb 4, 2023 at 1:08 AM AmitGhosh123 @.***> wrote:
AND STILL IF IT DOES NOT FETCH USE THE TOKEN DIRECTLY INSIDE THE FETCHDATA COMPONENT
use the token directly means? not getting you new to apis
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/project_youtube_clone/issues/10#issuecomment-1416319414, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQIVR6FWSVOBF66ISB3JG2DWVVNCPANCNFSM6AAAAAARIGHIMI . You are receiving this because you commented.Message ID: @.***>
Use REACT_APP prefix when writing the "process.env" it looks like "process.env.REACT_APP_RAPID_API_KEY"
I am getting two errors one of get request and the other is axioserror . Also the arrays are not visible in the console. So what shall I do ? Please give reply as soon as possible.
I am getting two errors one of get request and the other is axioserror . Also the arrays are not visible in the console. So what shall I do ? Please give reply as soon as possible.
install axios via npm install axios.
Regard