Inspired by this Stack Overflow discussion, I have written some PHP that allows you to add a “Do It Yourself (HTML)” widget to Panic’s Status Board app for the iPad.
This works well for a 4×1 grid (which is the smallest size panel).
To get your Facebook business page’s ID, you need to go to click on “Edit Settings” and grab the number in the address bar (e.g, https://www.facebook.com/pages/edit/?id=0123456789&sk=permissions)
Save this as something like fans.php. Unfortunately, you cannot run PHP scripts in a public Dropbox folder, so you will have to upload it to your own server. Then, in Status Board, tap on the < > icon and add the URL for this script (e.g., http://yourdomain.com/fans.php).
Hello, i used your example, but all i get is “you have Facebook fans!”, i.e., it does not show the number…any ideas?
Did you substitute in the page ID for your fan page in the code?
I had the same problem! I did substitute the page id in the code…any idea what could be the problem?
Did you upload the page to a web server that supports php?
yup..it’s on Bluehost…help?
That ought to work on Bluehost. If you like, email me the php file and I’ll take a look.
I just emailed you…thanks again for helping me out! Appreciate it!
Yes…supposedly it does…
Hm. If you’re comfortable with it, can you post your business page id here or email it to me at imissmymac.com at gmail.com?
Done.
Works great, thx for the snippet!
You’re welcome!
@Anant the problem is clearly server related…i changed served and it started working…
Great, thank you!