更新时间:2022-12-08 10:30:01
我最近也在尝试做同样的事情.这个简单的程序可能适合您.
I've try to do the same just recently. This simple program probably works for you.
import requests
def get_fbid(fb_url):
URL = "https://findmyfbid.com/"
PARAMS = {'url': fb_url}
try:
r = requests.post(url = URL, params= PARAMS)
return r.json().get("id")
except Exception:
return 0