SDK Installations
Ads API PHP SDKAds API Python SDK
'''
Python Requirements:
Easiest way to install the SDK is using pip.
'''
#If you don't have pip:
easy_install pip
#Clone the git hub repo on your local machine:
git clone https://github.com/facebook/facebook-python-ads-sdk.git
#then execute the following to ensure that you grab all the dependencies:
pip install facebookads
#### Note:
# There is currently a dependency installation issue with Python 3.
# If you're running Python 3 and configparser fails to install,
# manually download the package from github:
# https://github.com/facebook/facebook-python-ads-sdk.git
Ads API PHP SDKAds API Python SDK
'''
Python Requirements:
Easiest way to install the SDK is using pip.
'''
#If you don't have pip:
easy_install pip
#Clone the git hub repo on your local machine:
git clone https://github.com/facebook/facebook-python-ads-sdk.git
#then execute the following to ensure that you grab all the dependencies:
pip install facebookads
#### Note:
# There is currently a dependency installation issue with Python 3.
# If you're running Python 3 and configparser fails to install,
# manually download the package from github:
# https://github.com/facebook/facebook-python-ads-sdk.git
升级到2.5版本
pip install facebookads==2.5.0
使用命令crontab -l 查看本用户下正在跑的服务
使用命令crontab -e 编辑, 按a键进入编辑模式,按Ctrl+C 打命令:wq保存退出
ls -l 查看文件权限
如果文件权限不足,使用chmod 777 文件名 来赋予权限。
查找某个文件的位置: find / -name 文件名 -type -d
查看某个用户在跑的进程: ps ef|grep -i 用户名