Facebook Graph allows nested requests for any request.
GET graph.facebook.com
/{node-id}?
fields=<first-level>{<second-level>}
This opperation cant be done with spring social. For instance, when i try to get all posts from an user with it respectively likes.
There's no space in API to bind extra nested request:
com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token
at [Source: java.io.StringReader@3765712c; line: 1, column: 2612] (through reference chain: java.util.ArrayList[1]->com.roberto.social.domain.FacebookPost["likes"])
This issue is registered as well at jira: https://jira.spring.io/browse/SOCIALFB-200
Facebook Graph allows nested requests for any request.
This opperation cant be done with spring social. For instance, when i try to get all posts from an user with it respectively likes. There's no space in API to bind extra nested request:
I also can't use the fetchConnections from FacebookTemplate because an exception is thrown when retrieving nested objects. For example, the code:
Generates this exception: