Overview
Version
FineBI Version | Functional Change |
---|---|
6.0 | - |
Application Scenario
This document introduces how to connect to Facebook with the CData driver in FineBI.
Preparation
Version and Driver
Driver Download
According to your system environment (Windows//Linux/Mac), choose and download the appropriate installation package on the CData official website.
Driver Installation
Install the driver to the local directory. The following figure shows the directory structure after the installation.

Driver Login

1. The document takes the trial version as an example, and a login account is registered. The following figure shows the generated lib directory.
2. Upload the driver to FineReport.
Upload the driver by referring to section "Creating a Data Connection" in Driver Management, and manually place the .lic file to D:\FineBI_6.0\webapps\webroot\WEB-INF\lib.
Getting a Facebook User ID
Connection Procedure
Testing Connection with CData's Test Connection Tool
1. In the driver's installation directory, directly execute java -jar cdata.jdbc.facebookads.jar to open the test connection window provided by CData and enter the relevant information.
Configuration Item | Value |
---|---|
Initiate OAuth | GETANDREFRESH |
Account ID | ID obtained in section "Getting a Facebook User ID". |

2. When the connection is successful, copy the connection information in Connection String, for example, jdbc:facebookads:AccountId=user ID; InitiateOAuth=GETANDREFRESH.