Examples of FacebookClientFactory


Examples of net.sf.iqser.plugin.facebook.FacebookClientFactory

import net.sf.iqser.plugin.facebook.restfacebook.IFacebookRESTClient;

public class FacebookClientFactoryTest extends TestCase {

  public void test(){
    IFacebookClientFactory factory = new FacebookClientFactory();
    IFacebookRESTClient facebookApi = factory.createFacebookAPIClient("accessToken");
   
    assertNotNull(facebookApi);
  }
View Full Code Here

Examples of net.sf.iqser.plugin.facebook.FacebookClientFactory

  /**
   * Creates a security filter. Initialization parameters are found in facebook.security.properties file that must be placed
   * in the same package as the FacebookDefaultSecurityFilter
   */
  public FacebookDefaultSecurityFilter(){
      factory = new FacebookClientFactory();
      userFbId = new HashMap<String, String>();
      userAccessToken = new HashMap<String, String>();
      ownerAttributeName = new LinkedList<String>();
      cache = new LinkedHashMap<String, IFacebookRESTClient>(50, 0.75f, true);
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.