Correct permission to upload thumbnail to Dailymotion through API - dailymotion-api

Although my account is a Dailymotion Partner I can't upload custom thumbnail along with video.
As far as I can see from the API doc needs to have some permission to do this but which permission ?
https://developer.dailymotion.com/api#video

This feature is only available for our "verified partners". If you want to become one, pleae fill this form: Partnership request

Related

How to authorize my application with Youku to upload videos to end user's account?

I am working on desktop video editing application. In this app I need to implement Youku video uploading feature. For this purpose I registered my app on https://cloud.youku.com and got the ClientId to use the Video Upload API.
The official documentation (Chinese) says that I need access and refresh tokens to use the Upload API. Using the Upload API with manually generated access token I managed to upload videos to my own Youku account.
However, in my application I need to upload videos to an end user's account. According to the answer on How to get youku access_token I am trying to open the following URL to authorize my app in the end user's account.
https://openapi.youku.com/v2/oauth2/authorize?state=&redirect_uri=https%3A%2F%2Fispringsolutions.com&response_type=code&client_id={MYAPPCLIENTID}.
However I am getting the following error response:
code=1005&type=SystemException&description=Client+id+invalid
I am using the same ClientId that I used to upload videos to my account.
I also found the following document http://api.sandbox.yes.youku.com/open_upload.html (Chinese, can be Google-translated) mentioning the different authorization URL https://api.youku.com/oauth2/authorize?client_id={client_id}&response_type=code&redirect_uri={CALLBACK_URL}&state=. However this API is seems to be crossed out since September, 2015.
So, is it possible today to authorize a custom application in end user's account on Youku for video uploading? I have two hypotheses:
Youku have removed the ability to authorize third party applications to upload videos to an end user's account
or
The third party application have to pass a sort of verification process to get authorized in end user's account
I've finally got a response from Youku on this question.
hello 你好,
先解答您的问题
1.https://openapi.youku.com/v2/oauth2/authorize?这个接口已经废弃了,建议使用此文档中的上传方案https://cloud.youku.com/docs?id=109
2.您可以使用一个accesstoken,将您平台的视频统一上传至优酷同一个账号中,方便您管理内容
谢谢
Which is translated by Google as:
hello,
Answer your question first
https://openapi.youku.com/v2/oauth2/authorize? This interface has been deprecated, it is recommended to use the upload scheme in this document https://cloud.youku.com/docs?id=109
You can use one accesstoken to upload videos of your platform to the same account on Youku, which is convenient for you to manage content
Thank you
So, I can conclude that it is currently not possible to authorize your application with Youku to upload a video to another user account.
Youku Upload API is now suitable only for batch upload of videos to your account. You can't use the Youku Upload API in your application to let the application automatically upload a video to an end-user account. Users have to upload their videos manually to Youku via Web Browser.

How to crawl YouTube Video comments?

since YouTube Data API v2 no longer exists, you need extra permission from the user to read video comments (like permission youtube.force-ssl). There isn't any possibility to read video comments with the permission "youtube.readonly".
With Data API v2 ist was possible to read youtube video comments like this:
https://gdata.youtube.com/feeds/api/videos/VIDEO_ID/comments
But how is it possible to get the youtube comments only with "youtube.readonly" permission? YouTube loads comments dynamically with ajax, so is it possible to crawl these comments?
Thanks a lot!
If you want to read top level comment by url, like you have said in your question
You can get it, but you need a youtube api key,(its free)
https://www.googleapis.com/youtube/v3/commentThreads?part=snippet&videoId=NK94g7Qctuw&key={YOUR_API_KEY}
You do not have to get any access token, again if you want it to get from access token try to get refresh token like
$client->setAccessType('offline');
$client->setApprovalPrompt('force');
Add above two line code in youtube api sample, you will get a auto refresh token. Hope it helps you.

give permissions to view private video

Can I use Youtube API to Insert and Drop e-mail addresses that are allowed to view a certain private video?
For example, I would like to register a friend's email through my website to view a private youtube video, then, after few days, remove this permission.
You need to authenticate the user accessign any private video from your website. Make use of the OAuth 2.0 strategy to give permission to your friend. Please take a look at the following docs and videos to get a deeper insight.
OAuth2 Playground
Official Document
Step By Step Video

Can I provide access to only a single or subset of videos for download from the API

the use case is that I'd like Vimeo users to supply me a vimeo link to a specific file (and the upload_ticket), and only have access to that one particular video and no other video in that user's account. How does one do that?
This is not supported by Vimeo's API. If you have access to download one video, you have access to download all of their videos.

YouTube video upload API

I have completed uploading videos to YouTube from my website, that's for particular user account only (means all videos uploaded to single user account). Now I want that user come to my site enter their YouTube username and password and selected video will be upload to their account.
Till now what i have done is i have uploaded videos to my own account with my developer key. But now i want that if any user uploads video to YouTube then it uploads to his/her account. I am not able to find out the way because it may possible that they don't have developer key which is required to upload. So i need help in this.
I have seen API but I am not able to work out help for this. Anyone can help me in this?
Thanks!
You need to use the OAuth 2.0 API documented here: https://developers.google.com/youtube/2.0/developers_guide_protocol_oauth2 to obtain the credentials you need.
Using the credentials you create a link to Google's authorization service which your customers follow. On that page they can either allow, or deny, access to their YouTube account to your service. Assuming permission is granted, the service will redirect to the "callback" location URL you provided along with a pair of access tokens. You can then use these tokens to upload videos to YouTube and the videos will appear in the customer's account as they they had uploaded them.
It would be helpful if you could be more specific about what you are asking.
This is the youtube API for uploading videos:
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_uploading_videos.html

Resources