facebook API endpoint change and CSS fix to center-align smaller images
This commit is contained in:
parent
d8b7b08eef
commit
0f8842dd56
2 changed files with 7 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue