I am trying to see my mutual friends on facebook using spring social but for some reason when i load the page nothing prints out other than the header your mutual friends. I can not figure out what I am doing wrong with this. I am new to spring and spring social and I am using spring social quickstart with my own app to try and get this to work. This is the Code i am using to do this.
Code:
PagedList<Reference> friends1 = facebook.friendOperations().getMutualFriends("a persons user id");Code:
<h3>Your Mutual Friends</h3>
<ul>
<c:forEach items="${friends1}" var="friends">
<li><img src="http://graph.facebook.com/<c:out value="${friend.id}"/>/picture" align="middle"/><c:out value="${friend.name}"/></li>
</c:forEach>
</ul>