Quantcast
Channel: Spring Community Forums - Social
Viewing all articles
Browse latest Browse all 145

How to cast from object_id to Post

$
0
0
I've started to use spring social facebook recently. However, I can not understand how to cast from facebook obj_id to Post.class (assuming that obj_id is a id of a post)? I've tried
Code:

fetchObject(String objectId, Class<T> type)
but it does not work. Could anybody help me with describing it to me?

Viewing all articles
Browse latest Browse all 145

Trending Articles