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 carrying out any other Faceboook operation. Most Graph API requests require the use of access tokens that the client application can generate by implementing Facebook Login .

The basic procedure to get a user token is for the client to request access and permission via the Facebook 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 more information, refer to access tokens and how to generate them using Facebook Login.

...

Code Block
titleSample request for getPageAccessToken
{
"apiUrl":"https://graph.facebook.com",
"apiVersion":"v2.5",
"accessToken":"CAACEdEose0cBAHr8S2hVPNpCy1DbIuGHlmwbWubyR6YSr0wxgD0ncZBYfGrRvuZC88KqChF44ZAhMRZCPUeYM6xQaHuf1pCzfAwVMrPT4GUZAIOwbc2aBRb5BD6YlA8YKBgKInK08368Xh78arj3ORrUNZCyCc",
"pageId":"102898890060274"
}

Anchor
multipart
multipart
Multipart processing

With the current features of the ESB, the multipart/form-data received cannot be processed inside the ESB. Therefore, to perform operations associated with multipart data, you must build the message from the client end and send it to a pass through proxy. Additional query parameters such as albumId, photoId, pageId can be configured as URL parameters in the relevant connector operation. These query parameters should be retrieved from the URL and handled in the proxy.

...