If your directly calling the REST Server from http://api.new.facebook.com/restserver.php you may find that it’s challenging to create a valid signature. This is because the signature is generated on the fly for each API call. You can still call the REST directly to get a response but you will have to dump the signature value each [...]
Archive for September, 2008
What is a signature and why is it so hard to generate for the REST Server?
Posted in Good To Know on September 23, 2008 | 1 Comment »
Important ‘init’ function for use with the REST Server
Posted in Getting Started on September 23, 2008 | Leave a Comment »
Initiating the Facebook REST Client with ColdFusion
the function below will set you up to communicate with the REST Server. There are 5 required parameters you must pass to the server in order to call any API.
Required Parameters
1. api key
2. secret key
3. canvas url
4. callback url
5. server path
What are Extended Permissions?
Posted in Good To Know on September 23, 2008 | Leave a Comment »
***** SEE THE VIDEO *****
——————————————————————————-
Extended Permissions are a way for your app users to grant access without asking for approval. For example, if you use the photo_upload extended permission, your users no longer have to approve an image each time they upload a photo from your application. Or if you use the email permission, your [...]
Calling the photos.upload API
Posted in API on September 23, 2008 | Leave a Comment »
*** SEE THE VIDEO ***
Before we begin to upload a photo you should know the photo_upload work flow.
All photos need to first know their destination. Whether it be a new ablum (photos.createAlbum) or an existing album (photos.getAlbum). Once a photo knows it’s destination, it can then be uploaded and be tagged (optional).
NOTE: Upload requests must [...]
How can I test FBML, API, FQL, etc. from FaceBook?
Posted in Getting Started on September 23, 2008 | Leave a Comment »
FaceBook features a great section in developers.facebook.com named Tools. In here, they have a complete set of tools that allow you to test and make your calls are in working order and what they might look like. If your calling an API, it will even show you the response from the REST Server.
Using the fb:explanation tag
Posted in FBML on September 23, 2008 | Leave a Comment »
The fb:explanation tag is a handy little FBML statement that allows you to display an important message your app users will most likely not miss.
<fb:explanation>
<fb:message>Explanation message</fb:message>
This is the explanation message text.
</fb:explanation>
You can see you wrap your message in an explanation tags and use ‘message’ to highlight your header.
Pretty simple but very productive if your looking [...]
Using the fb:multi-friend-selector tag
Posted in FBML on September 23, 2008 | Leave a Comment »
This is another one of those AMAZING pre-built FBML tags that give you the power to really grow your app. This tag is singly the most important piece of FBML you can add to your application as it allows your friends to invite their friends and so on and so on.
<fb:multi-friend-selector actiontext=”Select the friends [...]
Using the fb:header tag
Posted in FBML on September 23, 2008 | Leave a Comment »
The fb:header tag allows you to create a simple Facebook style header. It’s a simple tag that looks like this:
<fb:header>My Header</fb:header>
Required
Name
Type
Description
optional
icon
bool
Toggles whether the application icon is displayed. No other icon can be displayed. (Default value is true.)
decoration
string
Customize the appearance of the title by choosing among three styles: add_border – Adds a 1px solid #ccc [...]
Using fb:tabs and fb:tab-item tags
Posted in FBML on September 23, 2008 | Leave a Comment »
This tag allows for you to create tabs that look and function exactly like typical Facebook tabs.
<fb:tabs>
<fb:tab-item href=’http://apps.facebook.com/yourapp/myphotos.cfm’ title=’My Photos’ selected=’true’/>
<fb:tab-item href=’http://apps.facebook.com/yourapp/recentalbums.cfm’ title=’Recent Albums’ />
</fb:tabs>
Pretty simple tag as you can see
Using the fb:dashboard tag
Posted in FBML on September 23, 2008 | Leave a Comment »
fb:dashboard makes it easy to keep your application heading in a Facebook format. think of it as your header and what users most-likely will see first.
<fb:dashboard>
<fb:action href=”page.cfm”>Choose a Scenario</fb:action>
<fb:action href=”http://facebook.com/group.php?gid=26228957389″>Join Our Group</fb:action>
<fb:action href=”http://facebook.com/apps/application.php?id=13102307598″>Become a Fan</fb:action>
<fb:create-button href=”inviteFriends.cfm”>Invite Your Friends</fb:create-button>
<fb:help href=”help.cfm”>Help Me!</fb:help>
</fb:dashboard>
within the dashboard wrapper you can add a create-button, help and action attribute. note: you can [...]