Class FacebookConnector

  • All Implemented Interfaces:
    ISocialNetworkConnector

    public class FacebookConnector
    extends java.lang.Object
    implements ISocialNetworkConnector
    Facebook implementation.
    Since:
    6.1.0
    Version:
    $Revision: 17594 $ $Date: 2015-07-17 11:22:41 -0300 (Fri, 17 Jul 2015) $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NETWORK_NAME  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String buildAuthenticationURL​(java.lang.String callbackURL, SocialNetworkApplication application, java.util.Map<java.lang.String,​java.lang.Object> stored)
      Builds the Authentication URL for the social network.
      void callback​(java.lang.String returnedValue, SocialNetworkAccount account, java.util.Map<java.lang.String,​java.lang.Object> stored)
      Executes the callback after application/account authorization.
      com.restfb.Connection<com.restfb.types.Account> getProfileAccounts​(SocialNetworkAccount account)
      Get all available accounts for the currently logged in user.
      java.lang.String publish​(SocialNetworkMessage message)
      Calls the social network's publish method (varies according to network).
      void remove​(SocialNetworkMessage message)
      Calls the social network's remove method (varies according to network) if there is one.
      java.lang.String update​(SocialNetworkMessage message)
      Calls the social network's update method (varies according to network) if there is one.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait