Example #1
0
 /// <summary>
 /// Get the response data from the resource.
 /// </summary>
 /// <param name="state">Provides access to a persistent object that tracks the state of an authorization.</param>
 /// <param name="resourceEndPointUrl">The resource endpoint url.</param>
 /// <returns>The response facebook graph.</returns>
 public FacebookGraph GetResourceGraph(OAuth2.Consumer.Session.IAuthorizationState state, string resourceEndPointUrl)
 {
     return(FacebookGraph.Deserialize(GetResource(state, resourceEndPointUrl)));
 }
Example #2
0
 /// <summary>
 /// Get the response data from the resource.
 /// </summary>
 /// <param name="state">Provides access to a persistent object that tracks the state of an authorization.</param>
 /// <returns>The response facebook graph.</returns>
 public FacebookGraph GetMeResourceGraph(OAuth2.Consumer.Session.IAuthorizationState state)
 {
     return(FacebookGraph.Deserialize(GetMeResource(state)));
 }