I am trying to get all my taggable_friends profil picture in swift. With my code, I can obtain my taggable_friends' name, but I don't know how I can get their profil picture... Any idea how? Thanks!!!
var fbRequest = FBSDKGraphRequest(graphPath:"/me/taggable_friends", parameters: nil);
fbRequest.startWithCompletionHandler { (connection : FBSDKGraphRequestConnection!, result : AnyObject!, error : NSError!) -> Void in
if error == nil {
var resultdict = result as! NSDictionary
var data : NSArray = resultdict.objectForKey("data") as! NSArray
for i in 0..<data.count {
let valueDict : NSDictionary = data[i] as! NSDictionary
let id = valueDict.objectForKey("id") as! String
let name = valueDict.objectForKey("name") as! String
// let url = valueDict.objectForKey("url") as! String -- is not working
I already saw this topic: How can I retrieve friend's picture through FBRequest in swift but I still don't undersand how to do it...
Have a look at
The request should be something like this