Package com.restfb

Examples of com.restfb.Parameter


   * @throws IQserException if an exception occurs
   */
  protected void performPostAction(Content content) throws IQserException {
    String endPoint = "me/feed";
    String messageValue = content.getAttributeByName("message").getValue();
    Parameter parameter = Parameter.with("message", messageValue);
    FacebookType postMessage = getFbClient().publishObject(endPoint, FacebookType.class, parameter);
   
    // update graph with new content
    String contentURL = URLUtils.makeContentURL(postMessage.getId(), ContentTypeEnum.STATUS.name());
   
View Full Code Here

TOP

Related Classes of com.restfb.Parameter

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.