Talk:Fbml.setRefHandle

From Facebook Developers Wiki

Jump to: navigation, search

[edit] Questions

Are any hard or soft limits enforced. Specifically, if I set a handle for every one of my app users (because all content is unique and different for each user, because it depends on their friends network) -- will I run afoul of anything? --719255867 15:43, 31 October 2007 (PDT)

[edit] Syntax

I could really do with an example of this!

You can see how confused I am over the basics of this!!


I presume it is like;

<?php

//i.e. $user can come from $user = $facebook->require_login();

// required??? // api_key // session_key (global developers ?) // call_id = microtime(true) ?? // sig md5 hash ?? (MD5 hash of the current request and your secret key,) // v = 1.0  ?? // handle = "myuniquename"; //?? // fbml = erm ??

$mydata = "?????";

$facebook->api_client->setRefHandle($mydata , $user); //or is it Fbml.setRefHandle ??

?>

But WHAT is REQUIRED in the $mydata string and is it blah=x or blah, blah or what? Do we really need to do an MD5 hash, etc.?

[edit] session_key needed?

On the bottom of the page it is stated that a session_key is not needed. This seems to be untrue, since I keep getting "Facebook Error 102: Session key invalid or no longer valid"