com.google.code.facebookapi.FacebookWebRequest Maven / Gradle / Ivy
package com.google.code.facebookapi;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Document;
public class FacebookWebRequest {
protected static Log log = LogFactory.getLog( FacebookWebRequest.class );
private HttpServletRequest request;
private String apiKey;
private String secret;
private IFacebookRestClient apiClient;
private boolean valid;
private Map fbParams;
private String sessionKey;
private Long userId;
private Long sessionExpires;
private boolean appAdded;
private boolean inCanvas;
private boolean inIframe;
private boolean inNewFacebook;
private boolean inProfileTab;
public static FacebookWebRequest newInstanceXml( HttpServletRequest request, String apiKey, String secret ) {
return new FacebookWebRequest( request, apiKey, secret, new FacebookXmlRestClient( apiKey, secret ) );
}
public static FacebookWebRequest
© 2015 - 2024 Weber Informatics LLC | Privacy Policy