Hi i m creating iframe application in facebook using new graph api. I want to display user's friends profile pics in page. so i use following code in loop
echo "
<fb:profile-pic uid="id" size="normal" linked="false"></fb:profile-pic>";
here id is user's friends id that change in loop.
This code works fine but my question is that: Is it right to use fbml tag fb:profile-pic in iframe app.? Please help me to understand this.
Thank you.
try
<img src='http://graph.facebook.com/FACEBOOK_ID/picture' />
Edit: as others mentioned, FBML is being deprecated by facebook.