Script to pull the # of FB likes for a page or URL
This commit is contained in:
parent
c05b0ca3e2
commit
2d9291a067
1 changed files with 2 additions and 0 deletions
2
scripts/likes
Executable file
2
scripts/likes
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
wget http://graph.facebook.com/$1 -q -O - | awk -F ',"(likes|shares)":' '{print substr($2, 0, length($2) - 1)}'
|
Loading…
Add table
Add a link
Reference in a new issue