Android: How to share video on Facebook Page using Facebook SDK - android

I allow my users to record a video, then I want to share it on app Facebook page.
How do I do that?
I found Video Upload with Graph API, but it's very complicated and requires me to manage the entire video upload process. I prefer to let Facebook app to do that.
Also I found ShareVideo.Builder but is limited to 12MB, while my files can by up to 1GB.
Is there some sort of share intent that can do this job for me? Or Video Upload with Graph API is the only solution.

Related

Share multiple link with Facebook SDK 4

I was wandering if it is possible to share multiple links on facebook all in once.
My goal is to let the user share multiple videos.
I can't use the ShareVideoContent class because these videos are remote, so i have to share the links.
That's why i'm using the ShareLinkContent class of the Facebook SDK (4.5.0).
It works fine, but i can upload only one video (one link) at a time.
So i wanted to ask if there is a way to share more links on Facebook, but clicking only once on the share button.
Currently, Facebook only supports a single link preview for posts. That means you can only post a link to a single video at a time, if you want the video to be playable from the resulting story. (This requires that the webpage containing the video - which is what you link to - is properly annotated with OpenGraph <meta> tags.
If you don't use any share dialogs, but use the /me/feed Graph API endpoint to post directly, you can post a story with multiple links in the description, but that will look less well integrated. Also note that you are not allowed to prefill any content that the user is supposed to share.

IOS/Android app uploading videos to YouTube?

I am developing an IOS/Andriod app where I want my users to be able to upload videos - these videos will later be used by the app. Since I don't want to spend a lot of money on data storage I was thinking of using YouTube as the placeholder of the videos.
Is is scenario supported by YouTube?
Are there any limitations for me to consider regarding this scenario?
Is it OK if my app uses only one YouTube account - which my app users share and use when they upload a video? Or do my app users I have to use a personal YouTube account to upload the videos?
Anything else I should think of which I might be missing here?
Thanks
Thomas
I am going to answer you about android because I know about how you can achieve this in Android apps.
Here's a simple step by step to learn how you can integrate Youtube in your android application. for doing this You will need to download the client libraries written in java. Download the library here
This scenario is supported by Youtube
It will be OK to use only 1 youtube account to upload videos to Youtube. but all users have to share that account
One thing you can consider to make sure not to upload very large files (more than 100MB). although it will upload but it can take much time.
It is possible to upload capture/gallery videos on your own channels, not possible to use like all users data storage.

Share video from android phone to facebook

I am developing a video recorder in android. It is a requirement that a user should be able to share/upload this video to his/her facebook account or Youtube account.
Do i need to use facebook and youtube APIs for this purpose or is there any easier way to share it from android phone to Internet.
It maybe a silly question but take me as a immature and new to programming world.
Regards
There are two different approaches:
1) Upload to YouTube via Data API then get the video id and send the link to Facebook using Facebook API.
(If you want your video available outside FB and reach to larger audience)
2) Upload to Facebook directly with Facebook API. (If you want to have your video straight to FB and share it only in FB.)
Yeah its possible talhamalik
You have use the Intent.ACTION_SEND, and the system will display a list of applications (on the device) where you can share. This website explains how:
http://sudarmuthu.com/blog/sharing-content-in-android-using-action_send-intent

Uploading a YouTube video from an Android application

I have a doubt about the ability to integrate youtube to my mobile application.
The mobile application should have a button for loading (by the user) video directly on youtube, on a dedicated channel. This channel will be created from my client. There is the possibility, through the bees, to integrate video upload directly to a specific youtube channel?
it's for android application.
Thanks a lot for the answer.
The most straightforward way to upload a video to YouTube in an Android application is to use the Intent exposed by the YouTube application. There's examples of doing this in other Stack Overflow questions, e.g. android youtube upload using intent
That being said, I wanted to point out that uploading videos into a single "master" account (which you seem to want to do, based on your question) isn't a good idea. This blog post explains why that is in more detail: http://apiblog.youtube.com/2012/02/video-uploads-from-your-sites-community.html

Android upload video using gdata to youtube?

In my application I need to upload a video to youtube from the gallery or a recording. I read
http://code.google.com/apis/youtube/2.0/developers_guide_protocol.html#Uploading_Videos
and i have only youtube email account....
Which of the three approaches (browser based,direct,resumable) should I use?
and there are any source code??
You're going to need to use Direct Uploading because (I'm assuming) you're going to be receiving which video to upload via and Intent. Here's a link to a project that demonstrates how to (among other things) directly upload to youtube from android. It should be exactly what you need to get started. I think the code you're looking for can be found here.

Categories

Resources