Configuring the Adapter for Facebook

How to:

You can configure the Adapter for Facebook from the Web Console or the Data Management Console.

The adapter requires a connection, which stores the access token. A valid Facebook access token is needed to issue Facebook API calls. The token is associated with a Facebook application. The default Facebook application ID shown on the connection page is for Information Builders demonstration purposes and is associated with the ibi domain. A Full Function Server should be running in the ibi domain, and the Web Console URL should include ibi.com. Otherwise, authorization will fail and Facebook will not return the access token.

The access token determines a scope of information available for the user, and the information about the user and friends that is available to the Facebook application. The connection page shows permissions that will be granted to the Facebook application. The user can uncheck permissions that should not be granted. The connection process will use only checked permissions. Authentication will take place even if no permissions are granted.


Top of page

x
Procedure: How to Configure the Adapter
  1. From the Web Console menu bar, click Adapters.

    or

    From the Data Management Console, expand the Adapters folder.

    The Adapters folder opens.

  2. Expand the Available folder, if it is not already expanded.
  3. Expand the appropriate group folder and the specific adapter folder. The group folder is described in the connection attributes reference.
  4. Right-click the adapter name and/or version and select Configure.

    The Add Adapter to Configuration pane opens.

  5. Enter values for the parameters required by the adapter, as described in the connection attributes reference.
  6. Click Configure. The configured adapter is added to the Adapters list in the navigation pane.

Top of page

x
Reference: Connection Attributes for Facebook

The Adapter for Facebook is under the XML group folder.x

The following list describes the connection attributes for which you can supply values. To complete the attribute declaration, click the Configure button.

Connection name

Logical name used to identify this particular set of connection attributes. The default is CON01.

x
Facebook URL

The URL of the Facebook Graph API request. The default value is:

https://graph.facebook.com/

x

Application ID

The user ID for the authorized login. x

Access Token

The value returned by the authorized login. Click the Get Access Token link to obtain this token. You must have a Facebook account and must be logged in. x

Allowed Permissions

Allows permission to access the Facebook items that you select.

Select profile

Select a profile from the drop-down menu to indicate the level of profile in which to store the CONNECTION_ATTRIBUTES command. The global profile, edasprof.prf, is the default.

If you wish to create a new profile, either a user profile (user.prf) or a group profile if available on your platform (using the appropriate naming convention), choose New Profile from the drop-down menu and enter a name in the Profile Name field (the extension is added automatically).

Store the connection attributes in the server profile (edasprof).


iWay Software