I would like to know if it was possible to send an invitation to join an MCN through the API instead of through the YouTube site directly.
All I seem to need is the Channel ID in order to do it through the site so is there an area of the API that I can submit a Channel ID and the request will then be sent.
Any help would be greatly appreciated.
Related
The "googlePlusUserId" of the YouTube channel object has been deprecated in the last review of the Youtube Data API (June 13, 2016). From the YouTube Data API revision history:
The channel resource's contentDetails.googlePlusUserId property has been deprecated. Previously, the property was only present if the channel was associated with a Google+ profile. Following the deprecation, the property will no longer be included in any channel resources.
I was using this property to relate a YouTube channel with its Google account. By this way I was able to verify in my page that a user signed in with Google is the owner of a YouTube channel. So how to do it now without this property?
Use case
My use case is a web application which invites some YouTube Channels (users) to the website. Ideally this invitation must be with a direct email to the email of the user or a direct message to the YouTube Channel through the YouTube Data API. However, both options are not viable because it is impossible to retrieve the email and actually there is not a functionality to send direct messages to a YouTube Channel through the API. So to invite a YouTube channel we have to manually go to the YouTube Channel about page and send a message to the user with the link to join our page. This link is an URL with a token identifying this invite but we need to be sure that the user coming from this link is the owner of the YouTube channel which has been invited, so the only way is logging in with his YouTube channel account which is the Google account.
I hope I have explained it well, if you have any doubt ask me.
Thank you!
I found a solution. You can make another call to people/me Google+ API endpoint to get the id of currently logged Google user.
Here you can find more information about OAuth scope you have to to grant to the token for access to user's data.
I'm discovering twilio ip messaging and i want to make a simple basic chat application. It's not so difficult but i want every sent messages to be stored in a database.
I was seeking some solutions into the twilio user interface but no such things to help me to solve this issue.
I am using amazon dynamodb. How could i process it so that each time I relogin to the chat i could see messages from the last session ?
Twilio evangelist here.
I think you are looking for the onMessageSend webhook:
https://www.twilio.com/docs/api/ip-messaging/webhooks
You can configure for IP Messaging Service instance with a URL for this webhook either in the account portal or via the rest API. Twilio will request that URL whenever a client sends a message to the channel. The webhook will include the sender id, channel id and message which you can save to your database.
Hope that helps.
How to get the email account that was used to create a specific YouTube channel?
Is there any PHP class or function that can help me? Or any kind of sample codes?
Thanks.
Edit: I have a YouTube channel and I uploaded some videos to this channel. Now, I need to delete on of this videos. But I for got login details (email address and password) to access this channel. I cannot remember which email address was used to create this channel.
After authenticating a user with OAuth, call and HTTP GET request on the channels/list endpoint with the parameters part=contentDetails and mine=true. If a googlePlusUserId is returned in the contentDetails dictionary, you can then call another request to the Google+ API's people endpoint to get the email address associated with that YouTube account.
Note that YouTube is now forcing all channels to be linked with a Google Account as of the v3 API. There still may be some accounts that do not have a linked Google Account, but that is an minimal edge case according to Google.
If you have completely lost the email to your YouTube account and this is not an API question, you need to look at the YouTube support article for recovering your account and follow the steps here.
There is access to the CMS Youtube, rights management, with CMS can be sent invitations.
How to do it through the API?
This method should be used if https://developers.google.com/youtube/v3/docs/channelSections/insert?
Currently, it is not possible to send channel invitation through the YouTube API.
You have to manually send out invitations through the YouTube content owner Dashboard.
I've heard that the new YouTube Data API (v3) does not retrieve the user url anymore? Is that correct?
I am the Product Owner of a Community Software and I would like to enrich the public profile of a user with social network content.
So for example as a Community Member I want to connect my community account with my YouTube Account (google+) so that I can display and share the url of my YouTube account with other community members.
Thanks for your help
With channels.list method, you'll get both G+ username as well as channel url.