Package com.google.code.facebookapi.schema

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


  public void test_PhotoAlbumListJaxb() throws Exception {
    FacebookJaxbRestClient client = FacebookSessionTestUtils.getValidClient( FacebookJaxbRestClient.class );

    Long userId = client.users_getLoggedInUser();
    client.photos_getAlbums( userId );
    PhotosGetAlbumsResponse albumsResponse = (PhotosGetAlbumsResponse) client.getResponsePOJO();
    List<Album> albums = albumsResponse.getAlbum();
    assertTrue( !albums.isEmpty() );
    for ( Album album : albums ) {
      assertNotNull( album.getAid() );
      assertNotNull( album.getName() );
      new URL( album.getLink() );
View Full Code Here

TOP

Related Classes of com.google.code.facebookapi.schema.PhotosGetAlbumsResponse

Copyright © 2018 www.massapicom. 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.