<div>
<img src='http://graph.facebook.com/<?p开发者_开发问答hp $user->id ?>/picture'/>;
</div>
this is the code that i m using to get a facebook profile pic in div ,this div tag is running in java script ,when i run this code in chrome it works well,but in firefox it get blink and then image comes,pls help anybody thanks in advance
You need to show us more code, also you need to echo
the user id:
<img src='http://graph.facebook.com/<?php echo $user->id ?>/picture' alt='' />
精彩评论