[ Video Sharing CMS v4 ] The Youtube Importer was upgraded to Youtube API v3

Started by PHPVibe A.,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PHPVibe A.Topic starter

Updated! It's done http://www.phpvibe.com/forum/phpvibe-announcements/phpvibe-4-0-patches/msg25866/#msg25866


The Youtube importer is being upgraded to V3 since V2 is now deprecated by Youtube.
Unfortunately for now the Youtube API V3 no longer offers the same functionality as V2.

For now with the V3 you can:

- Search videos
- Get channel/user's playlists
- Search videos from a playlist
- Get videos from a playlist


We are rapidly getting used to it and will be available replacing the V2 shortly.
The biggest set-back is Youtube removing the "video feeds" (most_viewed, most_liked, most_commented, etc) in V3 also no paginations (which we where able to trick  :D:-\
Youtube deprecating a good product (API v2) before offering the same quality in their V3 is unfortunately something we can't contribute or change on PHPVibe's side.



Quote from: Alexander on
Some features of the V2 are not permitted in V3, so a good practice would be to recreate the crons fresh.

For more info please see:
https://developers.google.com/youtube/v3/docs/videos/list
https://developers.google.com/youtube/v3/sample_requests
(You will need a key in the next importer) https://developers.google.com/youtube/registering_an_application



abdullahwu

  •  

aryan2029

i'm also having problem importing videos from youtube.
i hope it start working soon. thanks

https://youtube.com/devicesupport < this video will add from youtube. nothing else.
  •  

delaysen

I need that for v3.6 and also for v3.1 - I got a site that is running well with v3.1 and it would be a pity if it couldn't go on.
  •  

slmovix

  •  

lowpage

  •  

PHPVibe A.Topic starter


PHPVibe A.Topic starter


lowpage

Hello Alexander I have sent you a message about error im getting with youtube importer channel videos. when i try to import i get this error

Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/xxxxxx/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/xxxxxx/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/xxxxxx/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/xxxxx/public_html/moderator/main54.php(79): unknown() #3 /home/xxxxx/public_html/moderator/index.php(20): include_once('/home/xxxxxx/p...') #4 {main} thrown in /home/xxxxx/public_html/lib/class.youtube.php on line 459



also what about the saved jobs before update do we have to set auto videos all over again?
  •  

ronyhage

Hi,

The extraction function is not working while uploading using youtube links (a thumbnail must be added to be able to save the video).

Extraction is important as thumbnails will be a hassle to the user and website.

Please advise.
  •  

izlekop

Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyExpired' in /home/izlekop/public_html/lib/class.youtube.php:542 Stack trace: #0 /home/izlekop/public_html/lib/class.youtube.php(180): Youtube->decodeList('{? "error": {? ...') #1 /home/izlekop/public_html/moderator/yt_search.php(26): Youtube->searchAdvanced(Array, true) #2 /home/izlekop/public_html/moderator/main53.php(79): unknown() #3 /home/izlekop/public_html/moderator/index.php(17): include_once('/home/izlekop/p...') #4 {main} thrown in /home/izlekop/public_html/lib/class.youtube.php on line 542





what I need to do?
  •  

spanraj

Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyInvalid' in /home/FOLDER/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/spanraj/public_html/lib/class.youtube.php(302): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/spanraj/public_html/moderator/yt_bc.php(6): Youtube->getChannelById('UCRXiA3h1no_PFk...') #2 /home/spanraj/public_html/moderator/main54.php(79): unknown() #3 /home/spanraj/public_html/moderator/index.php(20): include_once('/home/spanraj/p...') #4 {main} thrown in /home/spanraj/public_html/lib/class.youtube.php on line 459
  •  

spanraj

 :-[Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyExpired' in /home/spanraj/public_html/lib/class.youtube.php:542 Stack trace: #0 /home/spanraj/public_html/lib/class.youtube.php(180): Youtube->decodeList('{\n "error": {\n ...') #1 /home/spanraj/public_html/moderator/yt_search.php(26): Youtube->searchAdvanced(Array, true) #2 /home/spanraj/public_html/moderator/main54.php(79): unknown() #3 /home/spanraj/public_html/moderator/index.php(20): include_once('/home/spanraj/p...') #4 {main} thrown in /home/spanraj/public_html/lib/class.youtube.php on line 542
  •  

spanraj

Hi, Alex.

all working fine. but there is no youtube import by user.
it will be later or no more.
  •  

spanraj

for some channel, im getting  this error


Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/spanraj/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/spanraj/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/spanraj/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/spanraj/public_html/moderator/main54.php(79): unknown() #3 /home/spanraj/public_html/moderator/index.php(20): include_once('/home/spanraj/p...') #4 {main} thrown in /home/spanraj/public_html/lib/class.youtube.php on line 459
  •  

lienkhuong

can't import youtube: add remote video and youtube API --> it return blank page
  •  

lienkhuong

  •  

slmovix

Hi Alex

When i click "Explore chanel and import option in new tab" i get this

No page yt_playlistsearch.php found
No action adm-yt_playlistsearch found

and when try to ad by chanel sometimes i get this

Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/spanraj/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/spanraj/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/spanraj/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/spanraj/public_html/moderator/main54.php(79): unknown() #3 /home/spanraj/public_html/moderator/index.php(20): include_once('/home/spanraj/p...') #4 {main} thrown in /home/spanraj/public_html/lib/class.youtube.php on line 459

Thank you
  •  

khanowner

Hi Alexander,
I have create an google API key and enabled YouTube Data API v3. I have entered API key to PHPvibe panel. But when I have tried to load a youtube address to my site I get blank page which have top menu and sidebar (look at prew01.jpg).

And when I have tried to import video from moderator panel I get white screen which have top menu and sidebar (look at prew02.jpg).

What must I do ? I see smiliar question at this thread : http://www.phpvibe.com/forum/client-debates/youtube-import/msg25893

Thanks
  •  

tommy101

  •  

lowpage

Quote from: Alexander on
Please report any issues it was done in a huge rush.

ALEX can you please respond to ALL of our inquiries kindly. Many of us have productive sites that are not functioning properly...which means financial loss. A reply would be great.
  •  

RumbaGumba

Uploading videos from the web is not working properly still. It is not taking any info of the video and thumb has to be put manually. Pretty annoying and time consuming
  •  

giovanni

I have no problem importing videos from youtube I just have a problem with facebook, and google image sharing it does not pick up the actual pictures, only on myspace, and tumbler, but no matter what I do images do not appear on facebook and Google sharing from my website
  •  

conghandang

I am have Problem Too...

Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyInvalid' in /home/u933587756/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/u933587756/public_html/lib/class.youtube.php(73): Youtube->decodeSingle('{? "error": {? ...') #1 /home/u933587756/public_html/lib/class.youtube.php(476): Youtube->getVideoInfo('6QjnJqmR2lE') #2 /home/u933587756/public_html/lib/class.providers.php(842): Youtube->Single('6QjnJqmR2lE') #3 /home/u933587756/public_html/lib/class.providers.php(787): Vibe_Providers->get_details() #4 /home/u933587756/public_html/com/com_share.php(47): Vibe_Providers->get_data() #5 [internal function]: modify_content_embed('') #6 /home/u933587756/public_html/lib/functions.plugins.php(142): call_user_func_array('modify_content_...', Array) #7 /home/u933587756/public_html/lib/functions.plugins.php(170): apply_filter('the_defaults', '') #8 /home/u933587756/public_html/lib/functions.php(795): apply_filters('the_defaults', '') #9 /home/u933587756/public_html/tpl/main/sharemedia.php in /home/u933587756/public_html/lib/class.youtube.php on line 459

Please Hepl Me Soon !
  •  

giovanni

that means you did not leave your youtube api blank, edit it and leave it blank al so it looks like you did not enable youtube api
  •  

vooping

There's a couple of options on the developer section, for the key request.

Such as create new client ID. I'm assuming this is just optional.

The 2nd and 3rd part was what I wanted to know on what to choose/fill out.

When clicking create new key, it asks either server key, browser key, android key, or ios key. I'm going to guess we would choose browser key?

Finally, it asks about referrer? Do we put our domain with and without the www?
  •  

giovanni

Yes create new even if you have one and select browser because your not hosting it its an API. And finally leave the field blank thats it now try embeding again
  •  

giovanni

Tell me when you share from your website if google and facebook picks up thevright image that you are sharing. From video
  •  

PHPVibe A.Topic starter

Quote from: izlekop on
Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyExpired' in /home/izlekop/public_html/lib/class.youtube.php:542 Stack trace: #0 /home/izlekop/public_html/lib/class.youtube.php(180): Youtube->decodeList('{? "error": {? ...') #1 /home/izlekop/public_html/moderator/yt_search.php(26): Youtube->searchAdvanced(Array, true) #2 /home/izlekop/public_html/moderator/main53.php(79): unknown() #3 /home/izlekop/public_html/moderator/index.php(17): include_once('/home/izlekop/p...') #4 {main} thrown in /home/izlekop/public_html/lib/class.youtube.php on line 542




what I need to do?

Error 400 Bad Request : keyExpired


Something wrong with that key. Recreate it.

PHPVibe A.Topic starter

Quote from: RumbaGumba on
Uploading videos from the web is not working properly still. It is not taking any info of the video and thumb has to be put manually. Pretty annoying and time consuming

Do you have an Youtube key? If you don't have a key it will do that, since Youtube API is no longer public.

PHPVibe A.Topic starter

Quote from: vooping on
There's a couple of options on the developer section, for the key request.

Such as create new client ID. I'm assuming this is just optional.

The 2nd and 3rd part was what I wanted to know on what to choose/fill out.

When clicking create new key, it asks either server key, browser key, android key, or ios key. I'm going to guess we would choose browser key?

Finally, it asks about referrer? Do we put our domain with and without the www?

You should choose server key, and add your server ip.
Referer it should be there from when you've built the Google login, it's the exact url of your site /callback.php?type=google (use www. if you have www. in your site url in config.

PHPVibe A.Topic starter

Quote from: conghandang on
I am have Problem Too...

Fatal error: Uncaught exception 'Exception' with message 'Error 400 Bad Request : keyInvalid' in /home/u933587756/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/u933587756/public_html/lib/class.youtube.php(73): Youtube->decodeSingle('{? "error": {? ...') #1 /home/u933587756/public_html/lib/class.youtube.php(476): Youtube->getVideoInfo('6QjnJqmR2lE') #2 /home/u933587756/public_html/lib/class.providers.php(842): Youtube->Single('6QjnJqmR2lE') #3 /home/u933587756/public_html/lib/class.providers.php(787): Vibe_Providers->get_details() #4 /home/u933587756/public_html/com/com_share.php(47): Vibe_Providers->get_data() #5 [internal function]: modify_content_embed('') #6 /home/u933587756/public_html/lib/functions.plugins.php(142): call_user_func_array('modify_content_...', Array) #7 /home/u933587756/public_html/lib/functions.plugins.php(170): apply_filter('the_defaults', '') #8 /home/u933587756/public_html/lib/functions.php(795): apply_filters('the_defaults', '') #9 /home/u933587756/public_html/tpl/main/sharemedia.php in /home/u933587756/public_html/lib/class.youtube.php on line 459

Please Hepl Me Soon !

The error is self explanatory.

Error 400 Bad Request : keyInvalid


Create your server key at google.

PHPVibe A.Topic starter

Quote from: spanraj on
Hi, Alex.

all working fine. but there is no youtube import by user.
it will be later or no more.

Use channel instead of that. Does the same thing.

PHPVibe A.Topic starter

Quote from: slmovix on
Hi Alex

When i click "Explore chanel and import option in new tab" i get this

No page yt_playlistsearch.php found
No action adm-yt_playlistsearch found

and when try to ad by chanel sometimes i get this

Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/spanraj/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/spanraj/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/spanraj/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/spanraj/public_html/moderator/main54.php(79): unknown() #3 /home/spanraj/public_html/moderator/index.php(20): include_once('/home/spanraj/p...') #4 {main} thrown in /home/spanraj/public_html/lib/class.youtube.php on line 459

Thank you

You miss this page.
I assume some playlists (like or uploads) is null, I'll add a protection against that exception.
No page yt_playlistsearch.php found

PHPVibe A.Topic starter

Guys, check the first thread's attached images.
You need a server key with your server's ip and you'll be fine with all the issue up.
I will add an protection for when the uploads or likes playlist is null.

spanraj

But some of the media doesn't have channel name only they have user name.

it that case how to do.
  •  

PHPVibe A.Topic starter


tesladisk

i create the key but when i try to import videos i get the about me info of the channel no videos and this error
Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/vaperstu/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/vaperstu/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/vaperstu/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/vaperstu/public_html/moderator/main54.php(79): unknown() #3 /home/vaperstu/public_html/moderator/index.php(20): include_once('/home/vaperstu/...') #4 {main} thrown in /home/vaperstu/public_html/lib/class.youtube.php on line 459
  •  

PHPVibe A.Topic starter

I think this happens when one of the likes or uploads playlists is empty. I will add a protection, read up.

lowpage

the likes or uploads are not empty....it is this channel "drboycewatkins" has many videos...if you try it will give you same arror when you try to import usr

Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/lowpage/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/lowpage/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/lowpage/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/lowpage/public_html/moderator/main54.php(79): unknown() #3 /home/lowpage/public_html/moderator/index.php(20): include_once('/home/lowpage/p...') #4 {main} thrown in /home/lowpage/public_html/lib/class.youtube.php on line 459
  •  

PHPVibe A.Topic starter

Maybe they are not, but I've tested that channel and Youtube API returns empty/nulls for them, maybe he has some privacy settings? I don't know for sure, but the api returns empty for that channel.

PHPVibe A.Topic starter

Quote from: lowpage on
the likes or uploads are not empty....it is this channel "drboycewatkins" has many videos...if you try it will give you same arror when you try to import usr

Fatal error: Uncaught exception 'Exception' with message 'Error 400 No filter selected. : missingRequiredParameter' in /home/lowpage/public_html/lib/class.youtube.php:459 Stack trace: #0 /home/lowpage/public_html/lib/class.youtube.php(338): Youtube->decodeSingle('{\n "error": {\n ...') #1 /home/lowpage/public_html/moderator/yt_bc.php(18): Youtube->getPlaylistById(NULL) #2 /home/lowpage/public_html/moderator/main54.php(79): unknown() #3 /home/lowpage/public_html/moderator/index.php(20): include_once('/home/lowpage/p...') #4 {main} thrown in /home/lowpage/public_html/lib/class.youtube.php on line 459

Redownload PHPVibe and change your moderator/yt_bc.php with a new one.


lienkhuong

  •  

PHPVibe A.Topic starter


wolftbpg

  •  



lowpage

how to get cron to update correctly as mine is showing error ..i sent you the code
  •  



wolftbpg

  •  

lowpage

can somebody please tell me why cron is not updating!!!!!!!!!!!!!!!!!!!!
  •  

wolftbpg

  •  

PHPVibe A.Topic starter

@wolftbpg it's a nice change in your as member! Thank you for helping around!

PHPVibe A.Topic starter

Quote from: lowpage on
can somebody please tell me why cron is not updating!!!!!!!!!!!!!!!!!!!!

Some features of the V2 are not permitted in V3, so a good practice would be to recreate the crons fresh.

ronyhage

Hi,

The extraction function is not working while uploading using youtube links (a thumbnail must be added to be able to save the video).

Extraction is important as thumbnails will be a hassle to the user and website.

Please advise.
  •  

PHPVibe A.Topic starter

Quote from: ronyhage on
Hi,

The extraction function is not working while uploading using youtube links (a thumbnail must be added to be able to save the video).

Extraction is important as thumbnails will be a hassle to the user and website.

Please advise.

You need a youtube api key to extract any video info right now since the V3 was enforced.

surchin.co

Im not seeing the ability to add scheduled tasks anymore... I see the menu item, but nowhere to submit a task.. ?
  •  

tommy101

same problem with him
Quote from: khanowner on
Hi Alexander,
I have create an google API key and enabled YouTube Data API v3. I have entered API key to PHPvibe panel. But when I have tried to load a youtube address to my site I get blank page which have top menu and sidebar (look at prew01.jpg).

And when I have tried to import video from moderator panel I get white screen which have top menu and sidebar (look at prew02.jpg).

What must I do ? I see smiliar question at this thread : http://www.phpvibe.com/forum/client-debates/youtube-import/msg25893

Thanks
  •  

surchin.co

The other more pressing issue is that if i am not logged in - i get this on the front page:

Notice: Use of undefined constant playlists - assumed 'playlists' in /home4/****/public_html/index.php on line 119
  •  

lienkhuong

Quote from: khanowner on
Hi Alexander,
I have create an google API key and enabled YouTube Data API v3. I have entered API key to PHPvibe panel. But when I have tried to load a youtube address to my site I get blank page which have top menu and sidebar (look at prew01.jpg).

And when I have tried to import video from moderator panel I get white screen which have top menu and sidebar (look at prew02.jpg).

What must I do ? I see smiliar question at this thread : http://www.phpvibe.com/forum/client-debates/youtube-import/msg25893

Thanks

I have problem like you but i solved
- enabled youtube Api V3 (screeen: http://prntscr.com/74ln9x)
- create new key (server key, add ip server)
- fill in phpvibe this key
==> work
  •  

PHPVibe A.Topic starter

Quote from: surchin.co on
Im not seeing the ability to add scheduled tasks anymore... I see the menu item, but nowhere to submit a task.. ?

When you search for videos, under the results table you'll see a green button to turn that search into an automated task.

PHPVibe A.Topic starter

Quote from: surchin.co on
The other more pressing issue is that if i am not logged in - i get this on the front page:

Notice: Use of undefined constant playlists - assumed 'playlists' in /home4/****/public_html/index.php on line 119

Your vibe_setts.php seems older version.

It should have:

define( 'playlists', 'lists' );

tommy101

i did exactly what you said but it doesnt work,still get blank page
Quote from: lienkhuong on
I have problem like you but i solved
- enabled youtube Api V3 (screeen: http://prntscr.com/74ln9x)
- create new key (server key, add ip server)
- fill in phpvibe this key
==> work
  •  

PHPVibe A.Topic starter

@tommy at the top of moderator/index.php change

error_reporting(0);

to

error_reporting(E_ALL);

and try again, maybe an error shows up so we have a clue of what's going on there.

conghandang

Quote from: Alexander on
The error is self explanatory.

Error 400 Bad Request : keyInvalid


Create your server key at google.

I don't See Any File To Edit API Key...

Can I Edit My API Key ? where File I Can Edit It ?

THanks...
  •  

conghandang

  •  

PHPVibe A.Topic starter


tesladisk

Hi alex everything work now but only the crons have a problem i update all my crons list but when i visit the cron.php i get a crons not found can you look in this thanks
  •  

surchin.co

Quote from: Alexander on
Your vibe_setts.php seems older version.

It should have:

define( 'playlists', 'lists' );


I tried replacing it with the new file, no change, and I tried adding define( 'playlists', 'lists' ); under  URL structure in vibe setts... Is there somthing else?
  •  

surchin.co

uh oh... bigger issue now! Gah my site is broken! If users are not logged in they cannot view videos this text comes up instead.. and it is revealing details too...not great! Alex please help!

Notice: Use of undefined constant 'wrdp1' - assumed ''wrdp1'' in /home4/ab1569/public_html/vibe_config.php on line 14

Notice: Use of undefined constant '' - assumed '''' in /home4/ab1569/public_html/vibe_config.php on line 17

Notice: Use of undefined constant 'urchinadmin' - assumed ''urchinadmin'' in /home4/ab1569/public_html/vibe_config.php on line 42

Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home4/ab1569/public_html/lib/class.ezsql.php on line 172
  •  

PHPVibe A.Topic starter

Quote from: surchin.co on
I tried replacing it with the new file, no change, and I tried adding define( 'playlists', 'lists' ); under  URL structure in vibe setts... Is there somthing else?

Clear cache from the admin panel after you replace the file with one from a newly downloaded pack.

PHPVibe A.Topic starter

Quote from: surchin.co on
uh oh... bigger issue now! Gah my site is broken! If users are not logged in they cannot view videos this text comes up instead.. and it is revealing details too...not great! Alex please help!

Notice: Use of undefined constant 'wrdp1' - assumed ''wrdp1'' in /home4/ab1569/public_html/vibe_config.php on line 14

Notice: Use of undefined constant '' - assumed '''' in /home4/ab1569/public_html/vibe_config.php on line 17

Notice: Use of undefined constant 'urchinadmin' - assumed ''urchinadmin'' in /home4/ab1569/public_html/vibe_config.php on line 42

Warning: mysql_real_escape_string(): Access denied for user 'root'@'localhost' (using password: NO) in /home4/ab1569/public_html/lib/class.ezsql.php on line 172

I'm not really sure how you managed to get things mixed but PHPVibe has no 'wrdp1' constant or text in it.
You probably have typos, removed bracelets around the database details.

khanowner

Hi again @Alexander ,
I have a youtube import problem.

I have tried to import youtube videos by channels. (look at photo01.jpg)
I have entered channel id and click Start importing.
But I got white page which had sidebar, above bar and channel information. (look at photo02.jpg)

I have sold youtube api problem and I can add videos by search keywords. But I cant import videos with channel id.

Waiting your reply, thanks.
  •  

tesladisk

alex my crons not working and i have to update manually and is a pain can you look into this i have update my crons list but when i visit cron.php  i get a "crons not found" thanks
  •  

PHPVibe A.Topic starter

Quote from: khanowner on
Hi again @Alexander ,
I have a youtube import problem.

I have tried to import youtube videos by channels. (look at photo01.jpg)
I have entered channel id and click Start importing.
But I got white page which had sidebar, above bar and channel information. (look at photo02.jpg)

I have sold youtube api problem and I can add videos by search keywords. But I cant import videos with channel id.

Waiting your reply, thanks.

That channel has username and it's medcezirtv I don;t know from where you got that id.

PHPVibe A.Topic starter

Quote from: tesladisk on
alex my crons not working and i have to update manually and is a pain can you look into this i have update my crons list but when i visit cron.php  i get a "crons not found" thanks

Hi! How did you update them manually? You need to remove the API v2 crons and create new ones for V3, READ UP!

tesladisk

already did that i add new crons but when i visit the cron.php i get crons not found
  •  

PHPVibe A.Topic starter

Quote from: tesladisk on
already did that i add new crons but when i visit the cron.php i get crons not found

Do you use video crons? The cron only pulls video type crons for now (not playlist or channel).

tesladisk

already try videocron.php i get blank white page and no videos added .
my scheduled tasks are for channel uploads
  •  

tommy101

Hi Alex,
i did like you said but nothing happen,can not import video,it show blank page,i tried to upload fresh file again,but it doesn't work,don't know why :(
Quote from: Alexander on
@tommy at the top of moderator/index.php change

error_reporting(0);

to

error_reporting(E_ALL);

and try again, maybe an error shows up so we have a clue of what's going on there.
  •  

khanowner

Quote from: Alexander on
That channel has username and it's medcezirtv I don;t know from where you got that id.

Alexander, hi again.
I have found trick from google to find channel id which have channel name.
Anyway I have tried another one but result is not change. I have tried to get videos from this channel (https://www.youtube.com/channel/UCoe0QD045tgbTE6bsbRGU5w)
I have entered this channel id : UCoe0QD045tgbTE6bsbRGU5w.

But I have got same screen like before this.

What must I do now ?

Thanks.
  •  

mzikagate

  •  

aryan2029

i face this error

No page yt_bc.php found
No action adm-yt_bc found
  •  

spanraj

Dear Alex,

some of the channel, im not able to import. its showing Unique in status.
  •  

slmovix

Hi Alex,

Crons wont pull out play lists and channels :(
this is a bummer, cz i have some channels and playlists that needed to update every day,
are you planning to fix this issue in near future??

thank you, and best regards
  •  

slmovix

Hi Alex,

Crons wont pull out play lists and channels :(
this is a bummer, cz i have some channels and playlists that needed to update every day,
are you planning to fix this issue in near future??

thank you, and best regards
  •  

khanowner

Quote from: slmovix on
Hi Alex,

Crons wont pull out play lists and channels :(
this is a bummer, cz i have some channels and playlists that needed to update every day,
are you planning to fix this issue in near future??

thank you, and best regards

Alex I have the same problem too. I changed CHMOD of cron.php to 777. But nothing changes.

I think, Firstly you must fix this cronjob problems.

Thanks.
  •  




wolftbpg

  •  

PHPVibe A.Topic starter

Quote from: aryan2029 on
i face this error

No page yt_bc.php found
No action adm-yt_bc found

Did you upload the files? You seem to not have the newest files in the script.

PHPVibe A.Topic starter

Quote from: tommy101 on
i did exactly like you,but it doesn't work :(

:-X guys, it's a very simple 2 minutes process which is explained on the link, you need an app, youtube api enabled on your google console and an server key with your server's ip.
Anything of this going wrong, it won't work. See the first pictures atached in this topic.

PHPVibe A.Topic starter

Quote from: slmovix on
Hi Alex,

Crons wont pull out play lists and channels :(
this is a bummer, cz i have some channels and playlists that needed to update every day,
are you planning to fix this issue in near future??

thank you, and best regards

Yes, in the next patch.

PHPVibe A.Topic starter

Quote from: khanowner on
Alexander, hi again.
I have found trick from google to find channel id which have channel name.
Anyway I have tried another one but result is not change. I have tried to get videos from this channel (https://www.youtube.com/channel/UCoe0QD045tgbTE6bsbRGU5w)
I have entered this channel id : UCoe0QD045tgbTE6bsbRGU5w.

But I have got same screen like before this.

What must I do now ?

Thanks.

Works fine for me UCoe0QD045tgbTE6bsbRGU5w as channelid

PHPVibe A.Topic starter

Quote from: tesladisk on
already try videocron.php i get blank white page and no videos added .
my scheduled tasks are for channel uploads

videocron.php is not for the youtube crons, but for the ffmpeg cron.

cron.php is for youtube.

denis1987

Quote from: Alexander on
:-X guys, it's a very simple 2 minutes process which is explained on the link, you need an app, youtube api enabled on your google console and an server key with your server's ip.
Anything of this going wrong, it won't work. See the first pictures atached in this topic.
Simple but dont work

my domain http://www.xreactions.com/

and http://xreactions.com/server/ server test
  •  



wolftbpg

qual phpvibe esta usando?eu estou com o 4.20 e esta funcionando tudo bem
  •  

denis1987

  •  

wolftbpg

  •  


PHPVibe A.Topic starter


denis1987

Quote from: Alexander on
Is that your server's ip? The server that the site is on?

Of course this is my ip address (shared ip adress) of the server that the site is on
  •  

indiyatube

Hi,

   I am Getting a blank while trying to import youtube videos. I have created both API's http://joxi.ru/Dr8ED1ZU6Wl4m6

But i am confused which id should i give in panel API Settings. I given Public API Access key, But still if i trying to import videos it showing blank block and nothing importing.

Solution Please.

Thanking You.
  •  

wolftbpg

  •  

PHPVibe A.Topic starter

Quote from: indiyatube on
Hi,

   I am Getting a blank while trying to import youtube videos. I have created both API's http://joxi.ru/Dr8ED1ZU6Wl4m6

But i am confused which id should i give in panel API Settings. I given Public API Access key, But still if i trying to import videos it showing blank block and nothing importing.

Solution Please.

Thanking You.

You need a server not public key, see the screens in the first post!

PHPVibe A.Topic starter


spanraj

  •  

liamgibbins

It started working when I enabled both YouTube API's the V3 and the Analytic one, with just the V3 it did not want to work for some reason.
  •  

indiyatube

Yes, I do same Here is ScreenShot: API Screen : http://joxi.ru/V2VKWp4UznbbAv

API Added in Mod Panel : http://joxi.ru/xAe07EbFnyoJ2y

Blank Screen : http://joxi.ru/krDDb4JSonpRrp

But i am getting same problem. My server is Dedicated one.

Quote from: Alexander on
You need a server not public key, see the screens in the first post!
  •  

PHPVibe A.Topic starter

Quote from: indiyatube on
Yes, I do same Here is ScreenShot: API Screen : http://joxi.ru/V2VKWp4UznbbAv

API Added in Mod Panel : http://joxi.ru/xAe07EbFnyoJ2y

Blank Screen : http://joxi.ru/krDDb4JSonpRrp

But i am getting same problem. My server is Dedicated one.

Enable error reporting in moderator/index.php on first line from

error_reporting(E_ERROR);

to

error_reporting(E_ALL);


Post the error.

Also try this

Quote from: liamgibbins on
It started working when I enabled both YouTube API's the V3 and the Analytic one, with just the V3 it did not want to work for some reason.

Maybe?

PHPVibe A.Topic starter

Quote from: spanraj on
its showing Unique in status, while importing.

It should show unique or existing...not sure what you mean by this post.

spanraj

Its showing  unique and not importing the video. then i have to select the  video and import manually.
  •  

PHPVibe A.Topic starter

Quote from: spanraj on
Its showing  unique and not importing the video. then i have to select the  video and import manually.

You need to set video import mode to automatic if you don't want it this way...you've left "List" on the form.

aryan2029

hi,
i enabled both YouTube APIs
YouTube Data API
YouTube Analytics API

and created browser API and Server API, but still when i start importing it won't import anything just only blank page.
i wanted to add remote video from youtube it also doesn't work.
please help
  •  

denis1987

  •  

tesladisk

hi alex can you give us an update when the youtube API will be ready for channels thanks
  •  

khanowner

Hi @Alexander,

Now Cronjob is only working for keyword search. But not working for playlists and channels.
Are you working on it ?
I think before start creating plugins, you must solve those problems.

Thanks.
  •  

spanraj

Hi, Alex.

Same happening to me also, only video search cron is working, playlist and channel never running.
  •  

aryan2029

a video which i uploaded in youtube is playing in another phpvibe site but not for me.
error - This video is unavailable in safety mode - but it plays in another phpvibe site,
ONLY MOBILE... in P.C it is working fine.
  •  

PHPVibe A.Topic starter

Quote from: aryan2029 on
a video which i uploaded in youtube is playing in another phpvibe site but not for me.
error - This video is unavailable in safety mode - but it plays in another phpvibe site,
ONLY MOBILE... in P.C it is working fine.

This is not something related to PHPVibe, at all :)

PHPVibe A.Topic starter

Guys, video searches are the only ones supported in cron so far, it will be updated, I've answered this over and over again.

indiyatube

Quote from: Alexander on
Enable error reporting in moderator/index.php on first line from

error_reporting(E_ERROR);

to

error_reporting(E_ALL);


Post the error.

Also try this

Maybe?

Tried each and every thing.. All my settings are ok, but still am getting same blank page. Enabled both API's. Help me please.
  •  

spanraj

Hi, Alex.

That means cron job will not work for play-list and channel import?
  •  

chatvl

  •  

PHPVibe A.Topic starter

Quote from: indiyatube on
Tried each and every thing.. All my settings are ok, but still am getting same blank page. Enabled both API's. Help me please.

Try resetting your Youtube key and change it. I don't have other solution.

PHPVibe A.Topic starter

Quote from: spanraj on
Hi, Alex.

That means cron job will not work for play-list and channel import?

Yes, did say that...for now.

dudleyz03

This Youtube vid really helped me with setting up the API keys.  I hope it helps ya'll too!

https://www.youtube.com/watch?v=Im69kzhpR3I
  •  

aryan2029

hi Alex,

when the cron job will be fixed ?
are you guys working on it or just forgot ??

i am still waiting and checking for updates please finish this. thank you.
  •  

aryan2029

Dear Alexander,
if we hire a developer, is this possible to configure the phpvibe to use two server ? like server #1 run phpvibe file and database but the up-loader should upload to server #2 and play videos from server #2 ?? --Separate database/site, ffmpeg processing and video file saving on different server instead of one for scalability

Please give us some information about this.
  •  

khanowner

Quote from: aryan2029 on
hi Alex,

when the cron job will be fixed ?
are you guys working on it or just forgot ??

i am still waiting and checking for updates please finish this. thank you.

Alex we are wating to cron job is fixed too. Are you running on ?
It is the most important thing for video sites. Without cron job, this script is noting for me :)
Because I cant get new videos completely from a youtube channel.

We are wating to be fixed A.S.A.P.

Thanks.
  •  

PHPVibe A.Topic starter

Guys, I'll be back to work tomorrow, and I'll take care of them all, past week there was no development, it's summer and most our coders are filling for vacation time (it's legal...).

PHPVibe A.Topic starter

Quote from: aryan2029 on
Dear Alexander,
if we hire a developer, is this possible to configure the phpvibe to use two server ? like server #1 run phpvibe file and database but the up-loader should upload to server #2 and play videos from server #2 ?? --Separate database/site, ffmpeg processing and video file saving on different server instead of one for scalability

Please give us some information about this.

I have no feedback on this, I don't know what it would involve yet, else I would have built it already.

khanowner

Alex, is there anyway to enlarge importing limit 500 videos ?
I want to get 3000-5000 videos from one playlist but I cant because of this 500 video limit.
What changes must I do on wihch php ?

Thanks.
  •  

PHPVibe A.Topic starter

Hi,

The only limit I see code side is the "results per page", the rest are Youtube returned limits (after 500 it start back from the first).

QuoteYouTube API searches in v1/v2/v3 now return a maximum of 500 results. https://code.google.com/p/gdata-issues/issues/detail?id=4282

aryan2029

Dear Alexander.
please update us about the cron job..
is that fixed or still working ???
  •  

PHPVibe A.Topic starter


javadev8x

Hi all,
When I Import form Sharing video on font-end and Add remote Video is okie, but when I import form [Youtube Import API] , on data http://kenhmusic.com/moderator/?sk=yt_search

Had issue UTF-8 when import data to database



please help me, thanks!
  •  

PHPVibe A.Topic starter

Hi @javadev8x are you sure utf-8 supports that language? Maybe you need a different database encoding for that?

Martin

Can someone help me out I have that kind of error, I think I did everything right with the API:

Fatal error: Uncaught exception 'Exception' with message 'Error 403 There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed. : ipRefererBlocked' in /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php:542 Stack trace: #0 /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php(180): Youtube->decodeList('{\n "error": {\n ...') #1 /home/bulbgcom/public_html/all/vidbg.com/moderator/yt_search.php(26): Youtube->searchAdvanced(Array, true) #2 /home/bulbgcom/public_html/all/vidbg.com/moderator/main55.php(79): unknown() #3 /home/bulbgcom/public_html/all/vidbg.com/moderator/index.php(23): include_once('/home/bulbgcom/...') #4 {main} thrown in /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php on line 542

wolftbpg

  •  


wolftbpg

Use Your Server ip to CREATE Your api.Em console.google go at creating server cheve
  •  


PHPVibe A.Topic starter

Quote from: Martin on
Can someone help me out I have that kind of error, I think I did everything right with the API:

Fatal error: Uncaught exception 'Exception' with message 'Error 403 There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed. : ipRefererBlocked' in /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php:542 Stack trace: #0 /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php(180): Youtube->decodeList('{\n "error": {\n ...') #1 /home/bulbgcom/public_html/all/vidbg.com/moderator/yt_search.php(26): Youtube->searchAdvanced(Array, true) #2 /home/bulbgcom/public_html/all/vidbg.com/moderator/main55.php(79): unknown() #3 /home/bulbgcom/public_html/all/vidbg.com/moderator/index.php(23): include_once('/home/bulbgcom/...') #4 {main} thrown in /home/bulbgcom/public_html/all/vidbg.com/lib/class.youtube.php on line 542


The error explains clear"

Error 403 There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.


Check the first post in this topic for api configuration.

Lobocaster

Good Morning,

Even I have the last release, I still getting blank page when I try to fill Term to search. Notning happens and no errors.
Could you please help me with this Alexander? I buyed this CMS yesterday and I cannot use it..

Thanks and Regards,
  •  

zhb456

Quote from: Lobocaster on
Good Morning,

Even I have the last release, I still getting blank page when I try to fill Term to search. Notning happens and no errors.
Could you please help me with this Alexander? I buyed this CMS yesterday and I cannot use it..

Thanks and Regards,

You must use the wrong API Key. Try to find it in guide here and there are videos in Youtube as well.
  •  

Similar topics (7)