How to embed into Facebook using PHP SDK - html5-video

I have been trying really hard to get this working but with no sign of hope. I summoned my powers to do the right thing but with no success.
I am wondering if someone have embed videojs player into facebook feed
A thought in the right direction will be appreciated.

From here : https://www.jwplayer.com/blog/publish-your-videos-to-facebook-with-a-jw-player/ it seem there is securities limitation. Facebook want a secure url with https. If not, Facebook make a link toward your website's page...
Of course, you have to use the OpenGraph protocol : http://ogp.me/
Like here : Facebook doesn't detect video while sharing my own page
Best regard

Related

How can i add a snapchat sharing button to my website. Is it possible to add Sharing button for Snapchat?

I am developing a website.I have added the many social login or sharing buttons,links like facebook,tweeter,gplus,pintrest on my php,html based website.
Now i have to add the social sharing button for snapchat.Is it possible to provide a link or button on my website to share a snap,image,content of stories in snapchat ?
I have tried to find out for any API or snapchat link or button to achive, but doesn't found any thing.
I also saw the question doesn't have any answer,reply,comments.
Is it possible to add Sharing button for Snapchat?
From the snapchat blog link following, I found that there is no API available provided by snapchat.
http://blog.snapchat.com/post/99998266095/third-party-applications-and-the-snapchat-api
Is it possible to share contents of snapchat?
That blog post is more talking about using a 3rd party app intead of the snapchat app, this is something i can never see being allowd but is also not what i think you are after.
I assume you mean that you want to be able to share a screenshot or specific image on snapchat. I have not been able to find a way of doing this, the closest thing was a 3rd party app that enabled link insertion to snapchat (http://www.gizmodo.com.au/2016/06/you-can-now-embed-links-in-snapchat-screenshots-using-emoji/)
On the other hand, if you want them to connect to you, this can be done with the url https://www.snapchat.com/add/yourUserName
hope this helps

Is it possible to add Sharing button for Snapchat? [duplicate]

I am developing a website.I have added the many social login or sharing buttons,links like facebook,tweeter,gplus,pintrest on my php,html based website.
Now i have to add the social sharing button for snapchat.Is it possible to provide a link or button on my website to share a snap,image,content of stories in snapchat ?
I have tried to find out for any API or snapchat link or button to achive, but doesn't found any thing.
I also saw the question doesn't have any answer,reply,comments.
Is it possible to add Sharing button for Snapchat?
From the snapchat blog link following, I found that there is no API available provided by snapchat.
http://blog.snapchat.com/post/99998266095/third-party-applications-and-the-snapchat-api
Is it possible to share contents of snapchat?
That blog post is more talking about using a 3rd party app intead of the snapchat app, this is something i can never see being allowd but is also not what i think you are after.
I assume you mean that you want to be able to share a screenshot or specific image on snapchat. I have not been able to find a way of doing this, the closest thing was a 3rd party app that enabled link insertion to snapchat (http://www.gizmodo.com.au/2016/06/you-can-now-embed-links-in-snapchat-screenshots-using-emoji/)
On the other hand, if you want them to connect to you, this can be done with the url https://www.snapchat.com/add/yourUserName
hope this helps

how to control an embedded <iframe> (any) video?

I would like to be in full control over Embedded videos, just as like as i can control my owned videos.
By "control" i mean by commands, such as -
iframeId.play();
iframeId.pause();
iframeId.currentTime();
I've seen its possible with YouTube videos, they share they're API.
But is it possible with any flash video i embed?
can i find it's API somehow?
if i cannot, can i work on any other solution (to control embedded vids) in any other way? how?
You should use YouTube IFrame API to control YouTube videos which are Iframe, AS3 or AS2.
Here is the full reference page for it: https://developers.google.com/youtube/iframe_api_reference
Also you can use Javascript API or Flash (Raw) API
Don't forget to use the YouTube player by the rules (I mean, you shouldn't hide the player or sth like that.)
Good Luck ;)

Can we authenticate facebook user which view page in UIWebView?

I work on application which provide bonus content for certain actions Facebook Share, Facebook Like of our page and etc.
I have problem with Facebook Like, as we know Facebook SDK ToS don't allow us (developers) to programmatically like Facebook page, so I have two ideas
Open the native Facebook APP, which is straight forward.
UIWebView within' our APP. But here is the problem
How to authenticate the user in facebook, to skip the inconvenience of double login. (The first time is within' our app, to be able to fetch the result of /me/likes/(id))?
I also faced the same problem for liking pages
i found this
https://github.com/brow/FacebookLikeView it is very help full go through this it shows how to like face book pages by using web view
hope this helps

How can I post a video, via Facebook's Connect API, to my Facebook profile page?

Has anyone posted a video via the Facebook Connect API to their profile / feed page?
Ideally, the video should be queued to the first frame with the superimposed Facebook's blue right arrow "play" button. Or if a thumbnail representing the video has to also be uploaded (rather than the video being queued to the first frame) as well, this is fine.
Also, when the video, or thumbnail, on the profile page is clicked, the video plays where it is - rather than going to another page off Facebook to be played there.
The question may have not been correctly worded. The term "API" was misleading to a couple of folks - and I apologize for that.
What I was trying to do was to "share" a video by linking it in Facebook, AND to have it play in the profile feed (ie. to not leave the Facebook site while viewing the video - just like YouTube and Hulu.com do).
After digging into the JavaScript that Hulu was using to get this behavior, we noticed that a link tag was missing between our version of the <meta> and <link> tags, and Hulu's.
Facebook's web page, http://www.facebook.com/share_partners.php, was missing a tag that you should have if the content is a video, and you want it played in the profile feed.
Along with:
<link rel="video_src" href="http://www.example.com/player.swf?video_id=123456789"/> ...
You should include:
<link rel="media:video" href="http://www.example.com/player.swf?video_id=123456789"/>
That will get it to play in the feed. BUT, your domain name must be whitelisted.
To get your domain whitelisted, fill out this form: http://www.facebook.com/share_partners.php#/developers/developer_help.php
I got a reply, and approval, within a day! Kudos to the Facebook developer support staff!
Use the Video.upload as described by stevedbrown or the Stream API or if you want to go simple share the link via API or share link.
Have you read the Facebook developer wiki page on this? That explains what is possible and how, it's pretty decent.