Hi Milad,
I see the problem. Because you only need the from field
and its picture
, I suggest to define a new class like, let’s say PostFrom
.
public class PostFrom {
@Facebook
private User from;
public User getFrom() {
return this.from;
}
}
And then use the PostFrom in the connection.
Hope this helps.
best regards
Norbert
{\"data\":{\"height\":200,\"is_silhouette\":false,\"url\":\"https://scontent.xx.fbcdn.net/v/t1.0-1/p200x200/62488101_2880109142008661_7085610257782669312_n.jpg?_nc_cat=1&_nc_oc=AQnCgw90f9E-M8eHW6Lj481v7UxkQUEMfl4gsSqE_HDm83GOJpvqcbHtQNekrAK_4z0&_nc_ht=scontent.xx&oh=5038840fa10ce2cb2516dd14d0d1ecc1&oe=5D7CD046\",\"width\":200}}