Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To use the Facebook connector, add the  <facebook.init>  element in your configuration before any other Faceboook operations.  Most Graph API requests require the use of access tokens, which the app can generate by implementing Facebook Login.

The basic strategy to get a user token is for the client to request access and permission via the Login dialog. After the user is authenticated, the user is redirected to the user consent dialog. On completion of consent, the access token is returned to the client. For further information, refer to access tokens and how to generate them using Facebook Login.

...

  • apiUrl: URL of the Facebook API (https://graph.facebook.com)

  • apiVersion: Version of the Facebook API

  • accessToken: The access token allows making requests to the API on behalf of a user.

...

Code Block
languagehtml/xml
curl -X POST \
    -d "source=%7Bimage-data%7D" \
       http://localhost:8280/services/facebook_postPhotoToAlbum/?album_id=1403293536601941

Additional information

 Ensure that the following Axis2 configurations are added and enabled in the <ESB_HOME>\repository\conf\axis2\axis2.xml file.

...