fbRads icon indicating copy to clipboard operation
fbRads copied to clipboard

Facebook Lead Ads

Open tokumotion opened this issue 9 years ago • 6 comments

Facebook developed a new ad format. It creates leads from fb users, can the package read those leads?

tokumotion avatar Sep 27 '16 16:09 tokumotion

Yeah, it should be pretty trivial to add support for this based on https://developers.facebook.com/docs/marketing-api/guides/lead-ads/leads

PR welcome, but I will also try to work on this -- around mid/2nd half of October.

daroczig avatar Sep 27 '16 18:09 daroczig

Great! Thank you!

tokumotion avatar Sep 27 '16 19:09 tokumotion

Hi All

@daroczig that is what I was asking you from last week. Facebook Lead Generation... @tokumotion you can, yes the package can read those leads .. , But it gives a messy list..

prasoonsrivas avatar Sep 29 '16 06:09 prasoonsrivas

@prasoonsrivas I got it to work, but the data Facebook serves back is a list of leads.

I got the data into a data.frame by using this code:

leads <- do.call('rbind', lapply(list, data.frame))

That's pretty much it.

tokumotion avatar Sep 29 '16 14:09 tokumotion

Hi Everyone,

Could you share your code to retrieve the leads from Facebook? That would be great, thank you :)

ArbenKqiku avatar Aug 05 '19 15:08 ArbenKqiku

@prasoonsrivas I got it to work, but the data Facebook serves back is a list of leads.

I got the data into a data.frame by using this code:

leads <- do.call('rbind', lapply(list, data.frame))

That's pretty much it.

Hi @tokumotion, could you share your code to retrieve lead ads with R? I am really struggling with it, that would be helpful :) Thank you!

ArbenKqiku avatar Aug 05 '19 15:08 ArbenKqiku