i thought that the video id of a video was what was after watch?v so for the video see you again RgKAFK5djSk
but when i use this API to find the thumbnail of a video it doesn't work
http://img.youtube.com/vi/<RgKAFK5djSk>/maxresdefault.jpg when on this forum they say to only put the video id How to scrape the thumbnail of a youtube video from id? so if it doesn't works it because the id is not good when on the api i just need to put the id, if not that what's the error on the link after all it's true that if the id is not that what is it?
You need not to use angular brackets around Video ID.
Correct Link:
http://img.youtube.com/vi/RgKAFK5djSk/maxresdefault.jpg
Related
I want to get the authenticated user's mentioned media using Instagram API.Is that possible to fetch those posts? Besides, as of all of us know that Instagram has released a new feature like multiple image as single post.For these kind of posts we are receiving a gray image as image url and type as video.Can we get all the uploaded image urls or the first image url at least? It looks so bad while showing that grayed picture in our application.
There is no API to get media with user mentions.
For the multiple image, use this as work around for now: https://stackoverflow.com/a/42429285/423089
I have implemented a code to search youtube videos matching to a particular keyword and show those videos on my site using the youtube-v3-api .
I want to filter out those videos on the basis of categories which are mentioned by youtube already. I am coding in asp.net and have successfully got the youtube videos on my site, just want to know how to filter those search results on the basis of categories.
Normally you can specify a categoryId when performing a YouTube API search, but it only accepts one categoryId. It sounds like you want to exclude multiple categories from the video results.
Well, if you've already used videos:list to get YouTube videos, the snippet returned contains the categoryId for each video.
You can then make a request to get all YouTube VideoCategories and filter out the categoryIds from the categories you don't want.
I have a requirement where i have to display the youtube playlist collection from an url (in a html web page.).
for example the url (which has 2 playlists):
https://www.youtube.com/user/vikaskottari/playlists
When i use this url in an iframe, it displays a blank screen, with a console error:
Refused to display 'https://www.youtube.com/user/vikaskottari/playlists' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
any idea how do i achieve this.
use this script instead
https://www.youtube.com/embed/VIDEO_ID?playlist=aaaaaa,bbbbb,cccccc
where aaaaa, bbbbb,ccccc are the id of the youtube video.
or this one
https://www.youtube.com/embed/?listType=playlist&list=yyyyyy
where yyyyyy is the id of youtube playlist
regards
I am building a Wordpress site, but I'm struggling to find a good plugin to achieve a few things...
Basically I want to make the website a central hub of a lot of my social networks, without me having to continaully update things in several places. So I'm wanting to do the following:
Every time I post a new Tweet, I want it to create a new Blog post on my website in the Tweet category. The post should have a default featured image and a I should also be able to set where the Tweet is displayed (i.e. in the title and post content) and if anything else is displayed after the tweet (like a follow button) for example.
Secondly, every time I upload a new video to YouTube, I want it to create a new blog post on my site in the Video category (and preferably in the Video Post Type) automatically. Again, I should have control over what is pulled into the post other than the video... for example description, tags etc. I would also like it to set the Featured Image of the post to one of the three still images that YouTube creates for a video.
Is the above achievable, and how would I go about figuring it out?
Many thanks in advance,
HT
For the first part of your question, I'm doing something similar. I'm using Twitter Tools plugin; along with Social.
HTH
I'd like to integrate an application where users post photos on my site and relate that photo to this particular group that they were invited on.
I'm looking at this Opengraph console from Facebook and it says ActionImage[]. Do I link an actual sample of a photo from my site here or do i just write a mock url of the photo?
in your params do image[0][user_generated]=true&image[0][url]=imageurl for example...