aboutsummaryrefslogtreecommitdiffstats
path: root/util/shred/FriendicaOAuth.sh
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-11 18:36:00 -0700
committerfriendica <info@friendica.com>2014-05-11 18:36:00 -0700
commit3eae3fd496abcd843d18a36e042f2185527d8803 (patch)
tree963b4eed4d2b81f03a570dfee96b963a65e40b3b /util/shred/FriendicaOAuth.sh
parent045d23a27c26d9d6daec7412c8726eba068f594a (diff)
downloadvolse-hubzilla-3eae3fd496abcd843d18a36e042f2185527d8803.tar.gz
volse-hubzilla-3eae3fd496abcd843d18a36e042f2185527d8803.tar.bz2
volse-hubzilla-3eae3fd496abcd843d18a36e042f2185527d8803.zip
a bit more progress on using shred to pick through API results. Commented out because the array storage is kindof weird so the first try (assuming simple arrays) didn't work out. I'll have to rethink how to index these things and may have to rewrite the js() function to do the kinds of things I want.
Diffstat (limited to 'util/shred/FriendicaOAuth.sh')
-rwxr-xr-xutil/shred/FriendicaOAuth.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/shred/FriendicaOAuth.sh b/util/shred/FriendicaOAuth.sh
index 4055e44a9..76858d73c 100755
--- a/util/shred/FriendicaOAuth.sh
+++ b/util/shred/FriendicaOAuth.sh
@@ -175,10 +175,10 @@ FO_statuses_home_timeline () {
FO_command () {
local command="$1"
- local params=(
- $(OAuth_param 'screen_name' $screen_name)
- $(OAuth_param 'count' $count)
- )
+ local params=(
+ $(OAuth_param 'screen_name' $screen_name)
+ $(OAuth_param 'count' $count)
+ )
local auth_header=$(OAuth_authorization_header 'Authorization' "$redmatrix_url" '' '' 'GET' "${redmatrix_url}/api/${command}.json" ${params[@]})