I´m struggeling a bit trying to get the URL of a PhotoPost using jumblr. I tried casting a post to a PhotoPost, but the detail says that there is no link ( i guess that is what i´m looking for) All i want is the link to the jpg.
List<Post> posts = client.userDashboard();
PhotoPost photoPost = (PhotoPost) posts.get(0);
System.out.println(photoPost.detail());
{date=2015-06-15 23:14:28 GMT, format=html, link=null, caption=<blockquote><p>“…You win.”
<br/></p><p>“I know.”</p></blockquote>, state=published, type=photo, slug=you-win-i-know,
I hope someone might have an idea.
Thanks alot!