<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.8.4" -->
<rss version="0.92">
<channel>
	<title>Facebook Cookbook</title>
	<link>http://fbcookbook.ofhas.in</link>
	<description>thousands of app development recipes</description>
	<lastBuildDate>Sun, 21 Mar 2010 10:38:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Facebook Iframe  application issues</title>
		<description>Here are the problems that I have faced  while developing my first  iframe application.The problems are very silly but i have to waste so much times to solve the issues. So i want to share some of issues that i faced.

1. POST Submission problem : 

http://forum.developers.facebook.com/viewtopic.php?id=24430

While I submit the post ...</description>
		<link>http://fbcookbook.ofhas.in/2010/03/21/facebook-iframe-application-issues/</link>
			</item>
	<item>
		<title>how to  trigger multiple onload functions when divs  are  loaded by FBJS</title>
		<description>



  
facing trouble to trigger multiple onload event to work  FBJS does not allow acess to the window object. So how can onload event fire when &#60;div&#62; is loaded on canvas. also FBJS is executed after the entire page has been loaded. so really shouldn't matter where you ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/15/how-to-trigger-multiple-onload-functions-when-divs-are-loaded-by-fbjs/</link>
			</item>
	<item>
		<title>embedding google map in canvas</title>
		<description>




ever tried to embed static google map in your facebook application canvas? wait a bit, i think you are firing a question at me "whats the difference, its all the same, a static image, eh?" - nope! it wont work the way you think . whenever you try to embed ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/15/embedding-static-google-map-in-canvas/</link>
			</item>
	<item>
		<title>how to send notifications and emails</title>
		<description>



sending notifications and emails are very important features of a facebook app. now i'm going to show how you will send notifications and emails to users.

there are two types of notifications: user-to-user and application-to-user

	a user-to-user notification is sent on behalf of one user to one or more other users
	application-to-user notifications ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/13/how-to-send-notifications-and-emails/</link>
			</item>
	<item>
		<title>how to show facebook friends status</title>
		<description>



facebook status api is still in beta, in one of previous posts hasin showed how to set status of users with their permission. now, let's see how we can get our facebook friend's status, in next step i will  show a tricky way to get a random person's status ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/13/how-to-show-facebook-friends-status/</link>
			</item>
	<item>
		<title>how to successfully keep record of which friend is accepting your invitation</title>
		<description>to keep record lets create a table named users .

[sourcecode language="sql"]

CREATE TABLE `friends` (
`uid` INT NOT NULL ,
`rid` INT NOT NULL ,
) ;

[/sourcecode]

then you have to add a small code snippet in the invitation code.we just need to add &#38;next='.urlencode('?rid='.$user).

have a look in side the content there is a php ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/13/how-to-successfully-keep-record-of-which-friend-is-accepting-your-invitation/</link>
			</item>
	<item>
		<title>tips for successful XFBML rendering</title>
		<description>if you are creating a FBConnect application and suffering from unexpected result of XFBML renedeing in your application, here is a cool tip for you. always close yoour tag in &#60;tag&#62;&#60;/tag&#62; style and not like &#60;tag/&#62;. check out the following example for the differnece  - :)

[sourcecode language="php"]







 function renderXfbml(uid) { ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/12/tips-for-successful-xfbml-rendering/</link>
			</item>
	<item>
		<title>dealing with ajax  on FBConnect</title>
		<description>  problem : 
need to store users information by ajax call while on connect . but face problems using fbjs ajax calls using on connect .some times face the problem to send ajax request  in the forum also get related type of problems . like:

http://forum.developers.facebook.com/viewtopic.php?id=28153
http://forum.developers.facebook.com/search.php?search_id=92171720

let’s see a quick solution ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/11/dealing-with-ajax-on-fbconnect/</link>
			</item>
	<item>
		<title>displaying a &#8220;friend selector&#8221; in FBConnect application &#8211; a custom component for you</title>
		<description>ok, i have learned my lesson while integrating  &#60;fb:multi-friend-selector [condensed] /&#62; and &#60;fb:multi-friend-input /&#62; in an iFrame app where i was rying to render it uwing &#60;fb:serverfbml&#62;. i was designing a page where users of your application can select an item, then some of their friends and finally submit ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/10/displaying-a-friend-selector-in-fbconnect-application-a-custom-component-for-you/</link>
			</item>
	<item>
		<title>facebook reveals status api &#8211; how to use it?</title>
		<description>today facebook revealed their new api to update user's status, and i am quite certain that it will play a vital role in the massive "status" market that is controlled by twitter. lets see how we can update status of any users of your application using this new API called ...</description>
		<link>http://fbcookbook.ofhas.in/2009/02/07/facebook-reveals-status-api-how-to-use-it/</link>
			</item>
</channel>
</rss>
