facebook friend uids as simple ArrayList<Long> with batchfb

21 views
Skip to first unread message

Vahe Tshitoyan

unread,
May 3, 2013, 10:05:05 PM5/3/13
to bat...@googlegroups.com
Hi,

I am new to batchfb/jackson, and spent quite some time looking through documentations but couldn't find the answer to my question. I am hoping for your help.

So I am wondering if it is possible to retrieve uid-s of friends and map onto a simple List<Long> or ArrayList<Long> right away, rather then creating a class corresponding to each friend which has a member to be mapped to the uid (e.g. I can do something like List<FbUser>, where the FbUser has a member called uid mapped to the facebook uid, but I want it to be something simpler because the only thing I need is the uid..)

Best,
Vahe

Jeff Schnitzer

unread,
May 3, 2013, 11:37:52 PM5/3/13
to bat...@googlegroups.com
You could use JsonNode and extract the id yourself.

Jeff


--
You received this message because you are subscribed to the Google Groups "BatchFB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to batchfb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Vahe Tshitoyan

unread,
May 7, 2013, 8:57:10 AM5/7/13
to bat...@googlegroups.com, je...@infohazard.org
Thank you Jeff, I will give it a try and post back!
Reply all
Reply to author
Forward
0 new messages