huuanh1987 / facebook-java-api

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

Support Facebook Stream API #208

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there plan to support Facebook Stream APIs ? Any ETA.

Original issue reported on code.google.com by amit...@gmail.com on 25 May 2009 at 2:22

GoogleCodeExporter commented 8 years ago
Thanks for the update abdinoor.
-Ron

Original comment by ronemr...@gmail.com on 9 Sep 2009 at 7:08

GoogleCodeExporter commented 8 years ago
Hi can someone compile a jar with these patches in?

Thanks

Original comment by nomoresp...@gmail.com on 11 Sep 2009 at 5:45

GoogleCodeExporter commented 8 years ago
I was excited to see this email thread and the availability of stream apis but 
like
all the comments I see towards the end of this thread, I don't see those api's 
on the
trunk or the snapshot. Is there a way to get this in? How could I help?

-mohan

Original comment by mohans...@gmail.com on 20 Sep 2009 at 12:00

GoogleCodeExporter commented 8 years ago
Anything new? I would also be willing to help get a build together that has the
missing stream_XXX APIs.  I'm in "dire" need of them ASAP.

Thanks,
-Ron

Original comment by ronemr...@gmail.com on 24 Sep 2009 at 4:59

GoogleCodeExporter commented 8 years ago
Sorry guys, have not been able to make any ground with getting a new snapshot 
out there 
for you all to use. I would love to do it but no longer have access to the 
maven repo 
for this project (temporarily I hope).

In the mean time you're all welcome to use my old 2.1.3 snapshot jar, attached 
here. 

And as always you can grab the source and build it yourself.

Original comment by abdinoor on 24 Sep 2009 at 5:37

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks abdinoor.

Can you please point me in the right direction to get the 2.1.2 SNAPSHOT code 
with
the stream_XXX additions?  I have no problem building it myself.

Using the SVN repos url http://facebook-java-api.googlecode.com/svn/trunk/ 
gives me
the 3.0.1 trunk/codebase.

-Ron

Original comment by ronemr...@gmail.com on 28 Sep 2009 at 8:12

GoogleCodeExporter commented 8 years ago
Ron, I think you want to grab the source from: 

http://facebook-java-api.googlecode.com/svn/branches/facebook-api-2.x/

That should be the latest code from the 2.1.x branch.

Original comment by abdinoor on 28 Sep 2009 at 8:24

GoogleCodeExporter commented 8 years ago
There is also a simpler (in terms of building your version and moving away from 
the
main version) way.

You can use the fql_query(String query) method to get the stream. You just have 
to
parse the resulting JSON string, which really isn't very hard using a java 
library
like the one found at http://www.json.org/java/index.html

Original comment by romsrini on 28 Sep 2009 at 8:41

GoogleCodeExporter commented 8 years ago
Thanks abdinoor and romsrini for your help.  Will let you know how it goes and 
it I
have any further questions.

-Ron

Original comment by ronemr...@gmail.com on 29 Sep 2009 at 6:57

GoogleCodeExporter commented 8 years ago
abdinoor - the code at
http://facebook-java-api.googlecode.com/svn/branches/facebook-api-2.x/ does not 
have
the stream API code :-)  No luck there...

Original comment by ronemr...@gmail.com on 30 Sep 2009 at 6:25

GoogleCodeExporter commented 8 years ago
Damn, that doesn't make much sense at all.

Fern and Dave, what's going on with the current snapshots? Are we moving to the 
3.0 
branch now? Do I need to recreate the Stream methods in the new branch?

Original comment by abdinoor on 30 Sep 2009 at 8:32

GoogleCodeExporter commented 8 years ago
I have same issue for stream publish i used all three given api but still having
problem with publish stream 

Original comment by dinesh....@gmail.com on 1 Oct 2009 at 8:01

GoogleCodeExporter commented 8 years ago
Should I be moving to the 3.0 branch to get the stream methods? I need to be 
sure its
production quality before I commit to it.

-Ron

Original comment by ronemr...@gmail.com on 1 Oct 2009 at 3:25

GoogleCodeExporter commented 8 years ago
Any updates related to this issue?
Thanks,
-Ron

Original comment by ronemr...@gmail.com on 20 Oct 2009 at 6:51

GoogleCodeExporter commented 8 years ago
*ping*
This is uber-important and super-necessary for what I'm using it for; what work 
is there 
left to do, and is there any way I can help it along?

Also, in the meantime, can you offer some possible workarounds?

Thank you,
Andy

Original comment by abject.r...@gmail.com on 16 Nov 2009 at 10:41

GoogleCodeExporter commented 8 years ago
I will have to defer to Fernando and David on this, but I believe they are 
actively 
trying to move to the 3.0 branch. That branch should include the Stream methods.

Original comment by abdinoor on 16 Nov 2009 at 11:23

GoogleCodeExporter commented 8 years ago
The functions don't work on the 3.0 branch using jaxb. Replacing schema.xsd 
with 
facebook's latest, and modifying schema.xjb to rename "AppInfo" back to its 
more-
appropriate "ApplicationGetAppInfoResponse" (or whatever) name, and StreamData 
to 
StreamGetResponse helped it along. One other thing I had to do was update to 
jaxb 
2.1.13-SNAPSHOT due to this bug: https://jaxb.dev.java.net/issues/show_bug.cgi?
id=490 . Because I haven't really touched code other than updating the schema, 
I feel 
like I may have missed something.

Also, I'd be interested in helping implement the Status.* methods. Can you help 
orient me as for what sort of files/coding I will have to create/modify, and 
the ideal 
files to refer to as examples?

Thanks,
Andy 

Is there any way I can

Original comment by abject.r...@gmail.com on 18 Nov 2009 at 1:27

GoogleCodeExporter commented 8 years ago
Apologies, please ignore those last 6 words.

Original comment by abject.r...@gmail.com on 18 Nov 2009 at 1:31

GoogleCodeExporter commented 8 years ago
Any updates with the stream APIs fellow mates?
I plan to use shed away the deprecated feed APIs and replace them with the 
stream APIs.

I suppose even the feed permission acquired from users of the application would 
no 
longer be valid and I might have to ask the users to grant permission for 
publishing 
stream.

I am looking for replacement of following deprecated APIs:
1) feed_registerTemplateBundle
2) users_setStatus
3) feed_publishUserAction

Original comment by amit.na...@gmail.com on 17 Dec 2009 at 12:15