Following an interesting discussion on programming.dev after the last article, I thought it would be good to add some extra notes regarding Webfinger. Webfinger provides a standard API for discovering the user profile details and avatar from the username, no matter the software running on the node. The standard Webfinger endpoint is /.well-known/webfinger. It must always be queried with at least the resource. Some examples using my account on Lemmy (programming.| Ishan Das Sharma
Given two unix timestamps, this Python script fetches all the leads received by a particular Facebook Lead Ads form using the Facebook v14 Graph API. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 import json import requests # Constants ACCESS_TOKEN="YOUR_ACCESS_TOKEN" LIMIT=500 FROM_TIMESTAMP=1678613400 UPTO_TIMESTAMP=1678704000 FORM_ID=12341241244 def create_api_url(form_id): return f"https://graph.| Ishan Das Sharma