net.sf.fb4j.client.json
Class GetSessionMethod

java.lang.Object
  extended by net.sf.fb4j.client.FacebookMethod<T>
      extended by net.sf.fb4j.client.json.JsonFacebookMethod<FacebookSession>
          extended by net.sf.fb4j.client.json.GetSessionMethod

public class GetSessionMethod
extends JsonFacebookMethod<FacebookSession>

Author:
Gino Miceli

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.fb4j.client.json.JsonFacebookMethod
JsonFacebookMethod.Auth, JsonFacebookMethod.Events, JsonFacebookMethod.Fbml, JsonFacebookMethod.Feed, JsonFacebookMethod.Friends, JsonFacebookMethod.Groups, JsonFacebookMethod.Marketplace, JsonFacebookMethod.Notifications, JsonFacebookMethod.Pages, JsonFacebookMethod.Photos, JsonFacebookMethod.Profile, JsonFacebookMethod.Users
 
Nested classes/interfaces inherited from class net.sf.fb4j.client.FacebookMethod
FacebookMethod.Fql
 
Constructor Summary
GetSessionMethod(java.lang.String apiKey)
          For desktop apps
GetSessionMethod(java.lang.String apiKey, java.lang.String secretKey)
          For web apps
 
Method Summary
 FacebookSession toObject(net.sf.json.JSONObject jsonObject)
           
 
Methods inherited from class net.sf.fb4j.client.json.JsonFacebookMethod
parseResponse, toObject, toObject
 
Methods inherited from class net.sf.fb4j.client.FacebookMethod
getFormat, getMethodName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSessionMethod

public GetSessionMethod(java.lang.String apiKey)
For desktop apps

Parameters:
apiKey -

GetSessionMethod

public GetSessionMethod(java.lang.String apiKey,
                        java.lang.String secretKey)
For web apps

Parameters:
apiKey -
Method Detail

toObject

public FacebookSession toObject(net.sf.json.JSONObject jsonObject)
                         throws FacebookClientException
Overrides:
toObject in class JsonFacebookMethod<FacebookSession>
Throws:
FacebookClientException


Copyright © 2008. All Rights Reserved.