create a thumbnail for the video in vimeo by selecting frame - php

I need to create thumbnails for the video in vimeo in php (cakephp),
Please have a look at this
User will be selecting the particular frame by clicking on the Use this frame button.
Did anyone work on this, if so please help me..

This is not currently supported in Vimeo's API. You will have to change it on vimeo.com.
The feature will be supported in the future though, so keep an eye on the developer blog for more information.

This is now suppported in Vimeo's Api. Please take a look here. You just need to set the time and active parameters in the following request.
POST https://api.vimeo.com/videos/{video_id}/pictures

Related

Upload cover photo on facebook fan page

I searched in graph api but couldn't find how to set cover photo on facebook fan page?
I want to set a cover photo directly like https://www.pagemodo.com/
I am using facebook-php-sdk-v4
I searched online and I found this link
it seam like it is using deprecated api.
Thanks for any help and suggestion in advance
You cannot update a Page's cover image. Read the docs at
https://developers.facebook.com/docs/graph-api/reference/page#Updating

Youtube API - Grab screenshot of a video at a specific time

I am looking to generate a high definition screenshot of youtube video at a specific time. Say I have the Youtube video ID (ctiJc4yEVow) and I want a screenshot of what appears at 1:32. Is there a clean and easy to implement way to do that? I have read way of using ffmpeg and some misc sloppy code, but nothing reliable.
The only thing I have seen is how to generate an image for a video, unspecific to any time.
https://i1.ytimg.com/vi//default.jpg
My issue is I need a specific time. Please help!
I don't see any way to do this within the official API. Their Videos:list and Thumbnails
pages don't offer any way to do this.
That said, you could link to the time you want, then screenshot that. This would work best with YouTube's autoplay turned off. Example link based on your post: youtube.com/watch?v=ctiJc4yEVow&t=1m32s

How to pull Instagram photos to my blog and integrate with Fancybox?

I saw the docs on the Instagram developers page. http://instagram.com/developer/endpoints/
But I want to display my own photos so I will need to get an access token. After that I want to make my photos work in a Lightbox or Fancybox. I was able to make this work with all endpoints that require a client ID. Its the access token that stumps me.
Edit:
I want to use php and or jquery to create a gallery of images from my account. Can anyone out there point me in the right direction? Are there any tutorials I can use that demonstrate this from start to finish?
I've just written a tutorial to help people like you manipulate this api and generate Fancybox gallery. It even includes source files of the final product. Here is a link http://www.blueprintinteractive.com/blog/how-instagram-api-fancybox-simplified

Facebook - Changing a photo caption via graph api

How to change a caption of an image on Facebook in PHP via graph api?
This is the way I used to upload it:
$facebook->api_client->photos_upload($file,$aid,'some caption',$uid);
Any hints?
Thanks.
NO, Its not possible to change caption of image using API.
The Open Graph API does not allow such an option.
It is possible to upload the photo with a new caption, but it looks as if the user has to approve the addition of a photo to his album, and I'm not sure that part is automatable.
If you want further explination try reading This question.
I may be doing something wrong and should not answer as link to same question exists on the comments, but i just thought it's an answer and no one posted it.
If i shouldn't have done that, comment and i'll delete or author delete question.
Don't start voting me down =/
You can't update captions on Facebook. They're quite rigid about that. You can upload a caption, but if it includes a link, it will be "red flagged" as spammy and your app might be taken down. The way they want you to do it is provide a text area for the user to fill out, and then upload that to Facebook. Essentially, have some user-moderated flow that allows someone to add or customize the caption input.
After it's uploaded, there's absolutely no way to change it.

Facebook audio Upload of mp4 format

Need help/idea on this.
I have to create a mp4 audio file and then have to upload it on facebook, twitter and tumblr.
I know there is no specific API for this there. But is there any other way out?
I also know i can upload files on separate server and then can provide the link. But i want it to play there only as video's in facebook.
Any ideas on this will be appreciated.
you can utilize open graph, i.e. create a web page with og:audio related meta tags, see the following doc (scroll towards the bottom):
https://developers.facebook.com/docs/opengraph/
then anytime a user/page/app likes a page, it is uploaded to their facebook
hope this helps
you can also do it from opengraph see if this link is suitable for you https://developers.facebook.com/docs/opengraph/
you can also do it by open graph protocol of facebook

Categories