I am building a music video streaming website with the Youtube API, whereby I will upload all my videos by my account and get my own videos with the user-specific feed.
I would like to know if it's possible and how to search within videos uploaded by a user, i.e. the search should return results containing only videos I uploaded.
Thanks!!!
Assuming you're using v1/v2 of the YouTube Data API, the relevant parameter to add to your search query is author=USER, where USER is either a YouTube username or a YouTube channel id.
This is documented at https://developers.google.com/youtube/2.0/reference#authorsp
Related
Is it possible to get a list (csv/xls) of all the videos on the account through the api?
GET https://api.vimeo.com/videos
This method returns all the videos that match custom search criteria.
You can learn more methods in this link from Vimeo Documentation
I want to write an app that fetches a random photo from my Google Photos set of photos using the Google Photos API. This is the new Google Photos, not the old one that was linked to a Google Drive.
In my review of the API Docs, it seems that you can list albums, and perhaps list what the albums contain, but it's not obvious to me how to download a photo itself. Can anyone figure it out?
Try with this API: https://developers.google.com/photos/library/reference/rest/v1/mediaItems/list
It lets you list the photos from your library and returns two parameters, productUrl and baseUrl, that you could use to get the photo.
I need a list of videos uploaded via share dialogue by the user using my app. I can't see any app-specific data added to the video in graph API, however, uploaded videos on Facebook does have the tag of my app when they get added to the feed. I want to track videos uploaded by the user using my app's share dialogue. Can anyone point me in the right direction to achieve this?
This is not a supported feature by the Facebook API. So there is no way to get this done without help from the Facebook team.
I need to fetch videos uploaded by users to a Facebook Page.
I'd have expected them to show up in https://graph.facebook.com/me/videos/uploaded, but it appears this only covers videos I've uploaded to my profile, not to a page.
The only place I can find that these show up is https://graph.facebook.com/PageName/tagged, but there they're crammed in amongst all the other stuff and I can't filter to find just the authenticated user's uploads to the page.
Is there a way to get only a specific user's video uploads / tags to a page?
OK, if we’re just talking videos posted to the wall here, I guess you could get that info querying the FQL stream table.
Filter it by:
source_id: The ID of the page whose wall the post is on
actor_id: The ID of the user that published the post
type: "128" - Video posted
Information about the video should be in the attachment column.
I am trying to extract all videos shared by my friends on Facebook (not only Facebook videos but also videos from other sources like YouTube, Vimeo etc). I have gone through the Facebook Graph API documentation and it only explains a way to extract videos in which the user tagged.
Can I get some pointers/references on how to investigate this?
Links shared by users also contain videos. You can traverse through links and find links which conatin youtube.com or vimeo.com. You can use regularexpressions to extract unique youtube ID