Package com.restfb.types

Examples of com.restfb.types.NamedFacebookType


      }
      addMVAttribute(userContent, "education", educationValues);
    }

    addAttribute(userContent, "email", user.getEmail());
    NamedFacebookType homeTown = user.getHometown();
    if (homeTown != null) {
      addAttribute(userContent, "hometown_id", homeTown.getId());
      addAttribute(userContent, "hometown_name", homeTown.getName());
    }

    List<String> interestList = null;
    if ((interestList = user.getInterestedIn()) != null
        && !interestList.isEmpty()) {
      addMVAttribute(userContent, "interested_in", interestList);
    }

    NamedFacebookType location = user.getLocation();
    addAttribute(userContent, "location", location.getName() + "_"
        + location.getId());
    addAttribute(userContent, "political", user.getPolitical());
    addAttribute(userContent, "quotes", user.getQuotes());
    addAttribute(userContent, "relationship_status",
        user.getRelationshipStatus());
    addAttribute(userContent, "religion", user.getReligion());

    // significant other
    NamedFacebookType significant = user.getSignificantOther();
    if (significant != null) {
      addAttribute(userContent, "significant", significant.getName());
    }

    addAttribute(userContent, "website", user.getWebsite());

    // workplace
View Full Code Here

TOP

Related Classes of com.restfb.types.NamedFacebookType

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.