sns-sdks / python-facebook

A simple Python wrapper for facebook graph api :sparkles: :cake: :sparkles: .
https://sns-sdks.github.io/python-facebook/
331 stars 87 forks source link

What does `python-facebook` provide that `facebook_business` doesn't and viceversa? #235

Open nbro10 opened 1 year ago

nbro10 commented 1 year ago

According to the README of this package, python-facebook allows us to interact with the Facebook Graph API, IG Business Graph API and IG Basic Display API. So, I would assume that it doesn't allow us to interact with other Facebook APIs, like Marketing API. In the README, you also write that this package is for the Facebook Common API, what is this Facebook Common API? Maybe the README should be updated?

But doesn't facebook_business also provide these features? According to the README

The Business SDK is an upgraded version of the Marketing API SDK that includes the Marketing API as well as many Facebook APIs from different platforms such as Pages, Business Manager, Instagram, etc.

So, facebook_business supports the Marketing API. Here, it's written that facebook_business supports the APIs in the Business SDK, which suggests that it's not all of them.

Business Manager API Instagram API Marketing API Pages API

So, does python-facebook offer any feature that facebook_business doesn't?

I've just like to understand if people need to use this library or can just use facebook_business, without knowing much about them.

MerleLiuKun commented 1 year ago

We can use the base GraphAPI to call the api provided by business.

As for me, I use this to call the api provided by Graph API.

But I am not run this with the marketing api. My case not contain it.