Examples of FqlQueryResponse


Examples of com.google.code.facebookapi.schema.FqlQueryResponse

public class Issue147FQL_JAXBTest {

  @Test
  public void testFQLJAXB() throws Exception {
    FacebookJaxbRestClient client = FacebookSessionTestUtils.getValidClient( FacebookJaxbRestClient.class );
    FqlQueryResponse fqr = (FqlQueryResponse) client.fql_query( "select first_name, last_name from user where uid = " + client.users_getLoggedInUser() );
    List<Object> results = fqr.getResults();
    assertEquals( 1, results.size() );
    Element result0 = (Element) results.get( 0 );
    XMLTestUtils.debug( "Issue147FQL_JAXBTest: ", result0 );
  }
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.