facebook API endpoint change and CSS fix to center-align smaller images

This commit is contained in:
boyreau 2025-11-16 18:30:22 +00:00
commit 0f8842dd56
2 changed files with 7 additions and 7 deletions

View file

@ -26,7 +26,7 @@ class IndexView(View):
params = {
'access_token': access_token
}
url = 'https://graph.facebook.com/v13.0/102786409210660/feed?fields=attachments,message,permalink_url&limit=10'
url = 'https://graph.facebook.com/v13.0/102786409210660/posts?fields=attachments,message,permalink_url&limit=10'
response = requests.get(url, params=params)
posts = []
if response.status_code == 200: