Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

facebook python

# Check out https://developers.facebook.com/docs/business-sdk/getting-started/
# Sample from the link above:
from facebook_business.api import FacebookAdsApi
from facebook_business.adobjects.adaccount import AdAccount

my_app_id = '{app-id}'
my_app_secret = '{appsecret}'
my_access_token = '{access-token}'
FacebookAdsApi.init(my_app_id, my_app_secret, my_access_token)
my_account = AdAccount('act_{{adaccount-id}}')
campaigns = my_account.get_campaigns()
print(campaigns)
Comment

PREVIOUS NEXT
Code Example
Python :: django set cookie 
Python :: use model from checkpoint tensorflow 
Python :: find rules of decision tree python 
Python :: scipy.arange is deprecated and will be removed 
Python :: conditional subsetting python 
Python :: entry tkinter 
Python :: python split space or tab 
Python :: pandas append new column 
Python :: how to find pdf file in link beautifulsoup 
Python :: scikit learn decision tree 
Python :: rsa decryption 
Python :: pair plot seaborn 
Python :: how to instal django cities 
Python :: how to get last element of list in python 
Python :: how does a neural network work 
Python :: py random.sample 
Python :: pip ne marche pas 
Python :: how to pick the latest data entered django 
Python :: how to send image to template thats not in static flask 
Python :: how to decode recv data in python 
Python :: Dictionary get both key and value. 
Python :: python dataframe add row 
Python :: django insert data into database foreign key view.py 
Python :: python "urllib3" download and save pdf 
Python :: drop duplicates columns pandas 
Python :: scrapy access settings from spider 
Python :: how to search for an item in a list in python 
Python :: NumPy bitwise_xor Syntax 
Python :: extract specific key values from nested dictionary 
Python :: Roberta Inference TensorFlow 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =