Hi,
implementing publishActivity in PHP using the REST API using this code:
$activity = array(
'message' => '{*actor*} did something.',
'action_link' => array(
'text' => 'Play Travians',
'href' => WEBROOT
)
);
$activity = $facebook->api_client->dashboard_publishActivity($activity);
I get a 15-digit number returned and no errors, however no activity appears in the logged in account or friends of this account.
Help appreciated.
Carlo
I made an iframe application using the facebook developer toolkit. It has a flash game on it which uses AMF to comminucate with the server. I want to implement a invite friends button, which pops up a lightbox(and maybe publish - like buttons) inside flash, how can i do that?
Hello I have implemented the following
$fql = "SELECT uid2 FROM friend WHERE uid1=" . $uid;
$param = array(
'method' = 'fql.query',
'query' = $fql,
'callback' = ''
);
$fqlResult = $facebook-api($param);
Now I need to fetch elements from $ fqlResult. How should I do this??
I'm attempting to use the new Graph API Facebook recently released, but I can't seem to get it to work correctly.
I've gone through the steps, and after the /authorize call, I receive an access_token:
access_token=109002049121898|nhKwSTJVPbUZ5JYyIH3opCBQMf8.
When I attempt to use that token I get:
{
"error": {
"type": "QueryParseException",
"message": "An active access token must be used to query information about the current user."
}
}
I'm stumped as too why...
-AC
Does anybody know how did facebook do that "time ago". I'm trying to do the same with php/javascript. I think it works something like php renders timestamp in html and then javascript continuously calculate the time ago, does anybody know anymore info about this?
Hi Folks,
since yesterday is my app not rendering the xfbml Tags (name and picture). Iam using the new JavaScript SDK inside an Canvas-Iframe Application.
Firebug tells me the following inside the console:
Get: http://0.channel20.facebook.com/x/3332504234/true/p_1348362044=0
And after a while:
XFBML tags failed to render in 30000ms.
Does someone has the same problems, or know why this happens?
<script
src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"
type="text/javascript"></script>
<script type="text/javascript">
FB.init('cef61789d5df166ac00c9fe13007c110', "xd_receiver.htm");
FB.Connect.showPermissionDialog("offline_access");
</script>
After a user login i am using the above code to get the Dialog box.
Why itsnt showing permission dialog??
I want to publish a post to user's wall..for this first i am making user to log in and getting the session id also...but in order to publish i need the user to grant me publish_stream permission..so immmediately after i am obtaining auth_token by capturing url of the login success screen, i am making call to http://www.facebook.com/connect/prompt%5Fpermissions.php? with "api_key","ext_perm","display" as parameteres..but when the above url is redirected and displayed on BrowserField i am seeing "Incompatible web browser " instead of the permission granting dialog or popup..i will be greatful if anyone can help...thanx a lot
In normal javascript, I can check either
if (i == undefined)
or
if (i === undefined)
or the "typeof"
however, within facebook, it will have the api_key append as the prefix in undefined.
i.e. it will become
if (a12345_i == a12345_undefined)
which is NOT undefined
so, what can I do to find out the variable is undefined or not?
i am using facebook connect it is working fine but what i want now is i want to get the information of the currently logged in user. like name, email etc. I am working in asp.net 2.0
Regards
http://stackoverflow.com/questions/383777/php-function-to-get-facebook-status
I've got to step 5 but im stuck.
How can I output these results in html format for say 10 status messages?
Thanks,
David
Hi,
I'm very new to Android development.
Please let me know, if possible, the basic steps to develop facebook on android platform.
Thanks & regards,
Sanjay.
Hello I am having trouble using multiquery in facebook .net.
I am trying to create 3 queries: Friends, Like and Photo using multiquery in the toolkit. It returns me with this The remote server returned an error: (500) Internal Server Error. Although, it is not happened all the time but it does occur frequently... I thought about what cause the problem but don't have a luck
Please help
Hi there,
We're looking for a way to embed an iframe and specific content into a fan page (not a profile). Apparently it's not directly allowed using the fb:iframe tag but I did find some hints here: http://www.facebook.com/PagesDesign#/profile.php?fbhref=iportfolio.html%3F%5Ffb%5Ffromhash%3D53f3ede8dd88aad33d3bc346401a683c&id=92993272816&app%5Fpage=1&v=app%5F96944267235
Looking for a more direct way though.
Dave
I was wondering how to differentiate between the user tapping submit or skip in the inline post-to-stream FBDialog. Anyone know what to test for?
I am using the latest iOS Facebook Connect in a iOS 4.2 environment.
/**
* Called when a UIServer Dialog successfully return.
*/
- (void)dialogDidComplete:(FBDialog *)dialog {
if user tapped submit and post was successful
alert user of successful post
if user tapped "skip" (cancel equivalent)
do not display alert
}
I have always wondered how Facebook designed the friend <- user relation.
I figure the user table is something like this:
user_email PK
user_id PK
password
I figure the table with user's data (sex, age etc connected via user email I would assume).
How does it connect all the friends to this user?
Something like this?
user_id
friend_id_1
friend_id_2
friend_id_3
friend_id_N
Probably not. Because the number of users is unknown and will expand.
Hi, I'm trying to use the facebook js sdk to develop an app, but I found the there is 2 version of the sdk, my question, is what is support with the new and what w=not? and if the xdreceive.htm is still needed for the new version, I have read the docs and still can't understand this, can someone with experience in FB can me kind and asnwer me this, thanks for any help!
Facebook provided the facility to tag friends on the wall post. I want to tag multiple friends in an application.
How do I tag multiple friends in the application. Any pointers? I need to push updates to the walls of all the friends tagged through the application.