singer-io / tap-facebook

Singer.io tap for Facebook Marketing API
GNU Affero General Public License v3.0
110 stars 141 forks source link

Getting no data returned in sync mode, anyone have some insights? #91

Open pavneet9 opened 4 years ago

pavneet9 commented 4 years ago

Hi,

I will be honest I am learning singer to get data into Facebook, and look like I am stuck from the start.

1) I am trying to get data that has had historical spend but currently, it doesn't have any ads running- is this the problem? if so how do I get the historical insights?

2) Here is my config.json file

{"start_date":"2015-09-01", "end_date":"2018-01-01", "account_id":"88016------095", "access_token":"-------------aub3Pi66R7SN53ElGbXBZBK1q1PjltKcm0jxkizZAzvlZCoZAfGoLOiI9G7ZCaTGXW$ I added the end data after looking at the code, thought it would help, doesn't work both ways

3) I followed all the instruction properly created a virtual env and installed tap-facebook

4) tap-facebook -c config1.json -p catalog.json here is the command i try.

5) I am getting the access token from here image

6) I am getting errors back for example if I change the account or the access token, I do get the error back

7) I am using the catalog that I got from the discover mode

Any help is appreciated, thanks for helping in advance, if someone has good blog to follow for this it would be great also.

ravialgo commented 4 years ago

Any update on this? Facing same issues...

tomekzbrozek commented 4 years ago

@pavneet9 @ravialgo did you folks manage to solve issues with this tap? Have you been using Sandbox credentials or credentials of an approved facebook app?