huuanh1987 / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

Support for new video upload api #170

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
http://wiki.developers.facebook.com/index.php/Video.upload

Requested by Ed J.

Original issue reported on code.google.com by david.j....@googlemail.com on 11 Feb 2009 at 8:04

GoogleCodeExporter commented 8 years ago
At this stage, I'm just accepting patches rather than adding new features 
myself. If
you produce a good code patch, I'll be more than happy to apply it!

Original comment by david.j....@googlemail.com on 7 Mar 2009 at 3:31

GoogleCodeExporter commented 8 years ago
Here is how i do it. 

Original comment by martin.b...@gmail.com on 21 Apr 2009 at 6:34

Attachments:

GoogleCodeExporter commented 8 years ago
I used the FacebookVideo.java but it seems that I get the error sayign that the 
format 
is not supported. Does the Google Java API not support videos? 

Original comment by blwan...@gmail.com on 1 Jun 2009 at 4:38

GoogleCodeExporter commented 8 years ago
Patch to add video_upload
http://wiki.developers.facebook.com/index.php/Video.upload

Hi David,

 I made a patch that adds video_upload to the library. I've run some integration
tests against my two new methods, and it appears to work fine. I added the 
methods to
the 2.1.1 release.

Please take a look, and I'd be happy to hear any feedback you may have. 

Thanks,

Ed

Original comment by edwardo...@gmail.com on 20 Jul 2009 at 6:28

GoogleCodeExporter commented 8 years ago
I realize there's a problem with my patch. The IFacebookRestClient depends on a
static server_url, and Facebook has introduced a new requirement that some 
methods
will use a different rest server url than other methods. IFacebookRestClient 
doesn't
appear to be designed for this requirement right now. 

I'll look into a fix for allowing custom Rest URLs per method, that won't break 
the
existing public interface.

Original comment by edwardo...@gmail.com on 20 Jul 2009 at 4:32

GoogleCodeExporter commented 8 years ago
Here's a patch that works around the static server url issue. Made the Video 
URL and
associated video url changes private b/c not sure if it should be part of the 
public
interface.

Cheers,

Ed

Original comment by edwardo...@gmail.com on 21 Jul 2009 at 7:19

Attachments:

GoogleCodeExporter commented 8 years ago
is video uploading working for anyone? it doesn't work for me for some reason. I
think the last time I tried was maybe three days ago. Thanks!

Original comment by blwan...@gmail.com on 31 Jul 2009 at 12:23

GoogleCodeExporter commented 8 years ago
 blwang86, video upload isn't a feature in the 2.1.1 release. If you add my patch
above, you will be able to upload video w/ the 2.1.1 release (plus my patch)

Original comment by edwardo...@gmail.com on 9 Aug 2009 at 9:41

GoogleCodeExporter commented 8 years ago
edwardotis: I see something strange in your patch:

-   PHOTOS_UPLOAD("facebook.photos.upload"),
+   PHOTOS_UPLOAD("facebook.video.upload"),
    PHOTOS_UPLOAD_NOSESSION("facebook.photos.upload"),
+    // VideoUploads
+    VIDEOS_UPLOAD("facebook.video.upload"),

It seems like you are changing the "PHOTOS_UPLOAD" method to video upload, 
breaking
photo upload (I need both)?

There are also some other unclean parts of your patch (not real differences, 
just
changes in whitespaces etc.).

Original comment by marius.k...@gmail.com on 17 Sep 2009 at 12:05

GoogleCodeExporter commented 8 years ago
Hello! When will this feature be released?

Original comment by phil...@calista.at on 30 Nov 2009 at 11:07

GoogleCodeExporter commented 8 years ago
I could not see the videos_upload in the facebook-java-api-3.0.2? Is this 
feature released?

Original comment by anumakon...@googlemail.com on 16 Sep 2011 at 11:21

GoogleCodeExporter commented 8 years ago
how can i used video upload feature?

Original comment by ankitbad...@gmail.com on 23 Jan 2012 at 6:17

GoogleCodeExporter commented 8 years ago
i am using java 3.0.2 api. images and mp3 are getting uploaded.but videos are 
not getting uploaded. can any one provide the code to upload video into facebook

Original comment by archana2...@gmail.com on 27 Feb 2012 at 10:07