对用户进行身份验证后,我需要获取用户的好友列表。我通过以下代码获得了用户名和照片-
<'fb:profile-pic uid='loggedinuser' facebook-logo='true'><'fb:profile-pic> <br/>
"Welcome, <'fb:name uid='loggedinuser' useyou='false'><'/fb:name>.<br/><br/>
我需要在这里显示朋友列表,请建议如何使用 uid 属性来执行此操作。
it's impossible doing this using only [x]fbml due there is no such feature
so you have to use JS FB.ApiClient.friends_get and then display the retrieved friends
ps: why this topic was at main page???? didn't even look at post date :-S