fb access token in config, limit 4
This commit is contained in:
parent
04a1e85b34
commit
2a2dabeff4
|
@ -13,10 +13,11 @@ theme = "desem-swift-theme"
|
|||
|
||||
[params]
|
||||
logo = "/images/desemdoos.png"
|
||||
fbtoken = "EAAn5J1FBPssBAEklcMbCU4PrCZB3aMyLuD3XqYGTaif8gKbx24PH5ZA6WrsQwiSGJzLIuVdHn4s2EymVDXTdrWaKLJqkDACiY5SLreXbeLuXTKirw7bncJM68dKTV7Y7Sp9rroU9IGqSUsJrhIzFvjlZAKBCQwUesut1p03oLPxkVTpNSg2"
|
||||
|
||||
# For search functionnality
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS", "JSON"]
|
||||
home = [ "HTML", "RSS" ]
|
||||
|
||||
# https://gohugo.io/getting-started/configuration-markup (ofwel de oude unsafe togglen?) - is nodig, Wordpress export bevat veel HTML!
|
||||
[markup]
|
||||
|
|
|
@ -8,6 +8,13 @@ https://www.goodreads.com/book/show/53267590-red-zuurdesem doorgeven?
|
|||
|
||||
[ ] Leo Babauta: un-copyright te bekijken
|
||||
|
||||
### Site rework todo's
|
||||
|
||||
[X] Facebook posts auto-grab IDs op een of andere manier? https://developers.facebook.com/docs/graph-api/reference/v7.0/page/feed reeds included
|
||||
[ ] fucking token die maar 2 maand houdbaar is - in kalender zetten? met api calls auto-refreshen op een of andere manier
|
||||
[ ] search functionaliteit. zie config.toml, JSON output
|
||||
[ ] Korte policy pagina? Koekske banner? (cookies weg indien niet ingelogd)
|
||||
|
||||
### Via-via persoonlijk
|
||||
|
||||
[X] Ann Lummen
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
}
|
||||
|
||||
try {
|
||||
FB.api("/redzuurdesem/feed?limit=6&access_token=EAAn5J1FBPssBAEklcMbCU4PrCZB3aMyLuD3XqYGTaif8gKbx24PH5ZA6WrsQwiSGJzLIuVdHn4s2EymVDXTdrWaKLJqkDACiY5SLreXbeLuXTKirw7bncJM68dKTV7Y7Sp9rroU9IGqSUsJrhIzFvjlZAKBCQwUesut1p03oLPxkVTpNSg2", parseFeed);
|
||||
FB.api("/redzuurdesem/feed?limit=4&access_token={{ .Site.Params.fbtoken }}", parseFeed);
|
||||
} catch(e) {
|
||||
whoops(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue