Field permalink_url from posts

17 views
Skip to first unread message

Eduardo Santos

unread,
Jun 1, 2016, 4:38:01 PM6/1/16
to Facebook4J
Hello,

I'm trying to get the field permalink_url from posts:

Facebook facebook = new FacebookFactory().getInstance();
Reading reading = new Reading().limit(6).fields("permalink_url", "picture", "name");  
ResponseList<Post> posts = facebook.getPosts(environment.get("facebookpage"), reading);


But in this field not available on interface Post.  There are any way to use this field?


Or another way to get the real post url from facebook not from links.

Ryuji Yamashita

unread,
Jun 5, 2016, 7:43:30 PM6/5/16
to Facebook4J
Hi,

Post interface hasn't 'permalink_url'. I'll add it future release.

You can use raw API methods.

Best,

2016年6月2日木曜日 5時38分01秒 UTC+9 Eduardo Santos:
Reply all
Reply to author
Forward
0 new messages