Package

Source Code of clientFacebook


import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.google.code.facebookapi.FacebookXmlRestClient;


public class clientFacebook extends HttpServlet{

 
  public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
   
    HttpSession session = req.getSession();

    FacebookXmlRestClient clientFB = FacebookUserFilter.getUserClient(session);
    //FacebookXmlRestClient clientFB = (FacebookXmlRestClient)session.getAttribute("facebook.user.client");
   
    System.out.println("ApiKey : " + clientFB.getApiKey());

  }
 
 

}
TOP

Related Classes of clientFacebook

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.