How to gey Sessionkey from new FaceBook SDK in iphone

Can any one help me in this:

I used new FaceBook SDK, and there is no Session seen any where. How can we get Session key after logging in to Facebook.

Im using '- (void)fbDidLogin;' method after login to facebook.

Thanks in advance

Answers


Assuming you are using the Facebook connect api. You'd have to create a FBSession object and initialize in either initWithNibName or ViewDidLoad. This object automatically gets populated with the session key once the user has been authenticated.

    FBSession *session = [[FBSession sessionForApplication:@"bla bla" secret:@"bla bla" 
                    delegate:self]retain];

Need Your Help

How to return formatting type Double mapping in NHibernate

c# nhibernate nhibernate-mapping point comma

We're developing an application with C #. NET, using MVVM, Nhibernate. I noticed a strange behavior, to get data from database and put on a Grid: The data in the database that are of type Double, ie,

Caching includes in PHP for iterated reuse

php caching include eval

Is there a way to cache a PHP include effectively for reuse, without APC, et al?

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.