How to get Friends list from Facebook iOS sdk

I am using iOS sdk v3.18.1, I want to get all my Facebook friends.I can get the friends count but, data is nil.

Here is my code

[FBRequestConnection startWithGraphPath:@"me/friends" parameters:nil HTTPMethod:@"GET" completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
        NSLog(@"result %@",result);

Out put

    data =     (
    summary =     {
        "total_count" = 840;


Since v2.0 you cannot get the full friend list anymore, you only get the friends who authorized your App too.

See my answer in this thread too: how to get a list of all user friends (not only who use the app)?

Need Your Help

Mesos master configuration error: Failed to load unknown flag

ubuntu ubuntu-14.04 mesos mesosphere

I'm running mesos 0.20 master node under Ubuntu 14.04. All configuration options I keep in /etc/default/mesos-master. I have a problem with MESOS_CREDENTIALS variable. It points to an existing and

Android: Implementing ViewHolder

java android

I am trying to implement ViewHolder in my Android app, but I keep getting that ViewHolder cannot be resolved to a type, without any suggestions for an import. Anyone know how to get around this?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.