php - Laravel: Remove a video from a playlist in YouTube using Google API Client -


Hello, so I'm trying to delete a video from a playlist using the Google API client, Continue the errors. Here's my code.

  if ($ access_token & amp; $ client = \ GoogleClient :: requestPermission ($ access_token)) {$ youtube = new \ Google_Service_YouTube ($ customer); $ Resultman = $ youtube- & gt; Playlist item-> Remove ("id, snippet", array ('id' = & gt; $ video_id, 'playlistId =' = $ playlist_id)); } Else {App :: abort (500, "account can not be authenticated"); }  

What I'm doing wrong and any help is appreciated. Thanks!


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -