I want to upload the video to my youtube account from my cron job created in php. But this is not possible as the oauth requires user intervention for allowing the access every time and the samples found in the api documentation does not provide any clues for getting this done. Can anybody please help me to get this done?
Related
I have to start working on a script to upload images to flickr following the documentation here but I can't understand how to authenticate following the instruction here.
Can anyone with experience with that tell me the steps I need to follow for it? for example:
should I have to authorise the app before to start doing uploads?
should I have to authenticate before every single upload?
how can I compose the url to get the signature? this is what I am using ATM but is asking me for a callback url I can't see in this doc page:
'http://flickr.com/services/auth/?api_key='.$KEY.'&perms=write&api_sig='.md5($SECRET.'api_key'.$KEY.'permswrite');
thanks
i am trying to develop web application for video upload from website to youtube channel.
I have already created Client ID, Client secret and API Key.
But i don't know how to use it, also found tutorial on online but any time i unable to complete this script.
anybody have ready-made script, so i can complete my project.
YouTube's developers site has PHP video upload sample code here.
I want to start developing a tool that runs daily via cron for getting daily analytical data from one channel, or video, etc.. through the "Youtube Analytics API". And not what is the best way to approach it.
I have read the documentation of Google and and I have several questions:
I created the project in the console (https://code.google.com/apis/console/) but I doubt what kind of application I have to choose when I create a Client ID (Web Application, Service Account or Installed aplplication).
What PHP library use?
It's a very new API and not much information.
In the Google GData site there is a warning about that "Most newer Google APIs Google Data APIs are not Google Data APIs." and in the google-api-php-client, no examples of this API.
What is the best method for authentication in a cron?
As you can see I am very confuse, can someone help me, please?
Thank you.
1) It will be an installed application unless you will run it in a web server.
2) Use the official library, add the ytanalytics php library. Samples: https://github.com/youtube/yt-samples-php
3) You can do so by getting a refresh token from OAuth2 Playground and setting it in your youtube object.
Here it explains a little more.
And a step by step video.
i read some documents but its not clearly described any where. could you tell me step by step, how can i upload a video to facebook via php?
-register facebook
-verify account
-create facebook app
then???
Try this how-to: http://developers.facebook.com/blog/post/515/#video_upload
I want to fetch image links in my account from Imgur.com
I know that there is an API for this but I don't know where to start since there are examples for uploading images but not getting links.
I decided to use PHP and cURL but I tried and no luck.
Please help.
Complete OAuth authentication. (Here's an example of using OAuth with twitter via the PECL OAuth extension)
Call http://api.imgur.com/2/account/images.json?count=70&page=1