Fbootstrapp – Facebook iframe App Development Toolkit
Fbootstrapp is an excellent (HTML, CSS, and JavaScript) toolkit providing templates for quick development of Facebook iframe apps.
It is build on Twitters’ Bootstrap, has styles for typography, forms, buttons, tables, grids, navigation and much more which are all styled to fit Facebook's standard UI.
There are two 12-column grids included, one for 520px (fan-page), the other one for 760px (standalone app).
How to: Getting a List of Facebook Pages a user is an admin of
How Facebook Page Integration is Done in Unified Inbox
While working on the Facebook Page Integration of Unified Inbox our developers used Graph API & were looking for a better way to get back a list of page IDs of all the pages that a user is an admin of.
Here is how we did it:
You can call
FB.api(/me/accounts), if you don't want to use FQL.'accounts' is a connection of the User object. See the documentation for this @ http://developers.facebook.com/docs/reference/api/user
Of course, with Facebook, there's always a catch. Right now this method will return not only the pages the user is an admin of, but also what applications they have installed. I'm almost positive this is NOT the intended behavior - I seem to remember using this a few months ago and only getting a list of pages. The documentation makes no mention of applications in this list either.
This is an easy problem to solve though - Facebook returns the name, category, and id for each item on the list, and each application has a category of 'Application'. I'm simply making sure I only list items whose category is not 'Application'.
Now, if you are willing to try with FQL:
FB.api({method: 'fql.multiquery', access_token: <access_token>, queries: { query1: 'select page_id from page_admin where uid = ' + <uid>, query2: 'select page_id, name, page_url from page where page_id in (select page_id from #query1)' } }, function(queries){ var pages = queries[1].fql_result_set; }}
Tags
- Open Source (60)
- JavaScript (57)
- Mobile Web (43)
- HTML 5 (22)
- NoSQL (22)
- jQuery (21)
- Database (19)
- Node.js (17)
- Android (15)
- Conference (14)
- View all 76 tags »
- Presentation Slides (14)
- .Net Framework (12)
- PHP (9)
- CMS (7)
- Presentation Videos (7)
- HeathCare IT (6)
- AMT (6)
- Amazon web services (6)
- MYSQL (6)
- Programming Languages (6)
- Agile (5)
- HTML (5)
- Mobile App Development (5)
- Tutorials (5)
- CSS (4)
- Programming (4)
- UX (4)
- Security (3)
- AMT Quiz (3)
- CSS3 (3)
- GitHub (3)
- Greetings (3)
- HIPAA (3)
- Tools (3)
- iPad Apps (3)
- Ace (2)
- Facebook App Development (2)
- Linux (2)
- Microsoft Silverlight (2)
- Mono (2)
- OSX Development (2)
- PHP Framework (2)
- Python (2)
- Ruby (2)
- Ruby on Rails (2)
- Scrum (2)
- WebRTC (2)
- Windows 7 (2)
- WordPress Framework (2)
- e-Learning (2)
- iOS 5 (2)
- Adobe AIR (1)
- Apache (1)
- BT Summit 2010 (1)
- C++ (1)
- Corporate Storytelling (1)
- Django (1)
- Dojo (1)
- EHR (1)
- EPR (1)
- Electronic Patient Record (1)
- FaceTime (1)
- Flash (1)
- Game Developement (1)
- Lean (1)
- Marketing (1)
- Microsoft (1)
- Mozilla (1)
- Perl (1)
- Product Development (1)
- SCM (1)
- SDT Table Dynamic MySQL PHP (1)
- SEO (1)
- Web Development Framework (1)
- Windows 8 (1)
- iOS Software Development (1)
Get Updates
Get the latest updates in your email box automatically.
