how to get all the permissions on facebook

in some applications, I see "Access my data any time" when I give the permissions to the iphone application, how can i do that with facebook-ios-sdk ?

 NSArray *permissions = [[NSArray alloc] initWithObjects:
                                @"user_likes", 
                                @"read_stream",
                                @"user_birthday",
                                nil];
        [[delegate facebook] authorize:permissions];

In my code I wrote that but I have to leave the one to one when I want to have all permissions

Answers


That permission scope is called offline_access.


Need Your Help

C++ Python closes my program

python c++ direct3d

I am writing a small program with Direct3D and Python in C++.

How to mock Netty?

mocking netty

I just inherited a project using netty and it seems to entangle itself in the code in that many handlers are created implementing netty interfaces, etc. I want to mock it in such a way that I can add

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.