summaryrefslogtreecommitdiff
path: root/bin/fb-user-token.sh
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-01-16 23:52:38 +0100
committeremkael <emkael@tlen.pl>2017-01-16 23:54:25 +0100
commitc66fb8ec9eba761da8800134cc80733e1bf7a22b (patch)
tree6ce33cb1b656eda3c124ade5b17377ab7eed84dc /bin/fb-user-token.sh
parentdf7de5249540a4d0efbf6546b44c5cd8ee9306d1 (diff)
* script to renew FB user token
Diffstat (limited to 'bin/fb-user-token.sh')
-rwxr-xr-xbin/fb-user-token.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/fb-user-token.sh b/bin/fb-user-token.sh
new file mode 100755
index 0000000..c0ad09f
--- /dev/null
+++ b/bin/fb-user-token.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+cd /srv/websites/rss.emkael.info
+php bin/fb-user-token.php | json_pp > config/temp.json
+mv config/temp.json config/facebook.json