Hi All,
I am developing a game in cocos2d in which I have to connect my iphone game with face-book.
for that I have code
FBLoginButton *button=[[[FBLoginButton alloc]init] autorelease];
[[[Director sharedDirector]openGLView] addSubview :button] ;
when I click on button face-book login page is display. when I click on Username t...
Hi
I am trying to let the user upload an image from my facebook app using the following php
<?php
echo render_header('Your');
define("MAX_SIZE", "1536");
function getExtension($str){
$i = strpos($str,".");
if(!$i) {return "";}
$l = strlen($str) - $i;
$ext = substr($str, $i+1, $l);
return $ext;
}
$errors = 0;
if(isset($_PO...
Hi,
I have a Facebook Connect application that uses offline access to grant infinite sessions to itself. When the user is logged out of Facebook, I want the ability to send messages to the user, so I am wondering:
Does using FB.Connect.Logout also terminate the infinite session, or does it leave the session be and only logs the user ou...
I've seen all the posts here on stackoverflow about posting status updates to a page's wall (not a user's wall); but all appear to be out of date as none of them address the issue with the new Open Stream API. All the research I've done on Google leads me to the same end: Out of date tutorials that end up saying that the current implemen...
hi!
i'm building a RoR app for facebook using FBML and the Prototype JavaScript library.
what i'm trying to do is have a div automatically refreshed, using the neat
periodically_call_remote, which creates a PeriodicalExecuter object.
here's the code:
<%= render :partial => "status_item", :collection => @status %>
<%= periodically_...
I want to fetch 'birthdays' of users, and their friends on my website, from their facebook profiles (with their facebook credentials supplied).
Is their a feature in Facebook API/Connect that I can use to fetch these details from facebook as possible on Native Facebook Apps using Facebook API.
I want to store this data in my DB, and us...
I have a Facebook iframe application. I have applied Facebook commenting on this.
Right now the comments which are posted on my wall display the source parameter and title parameter (a clickable URL) the same.
I wanted the source parameter to display my application name, and clicking on the title will redirect the user to the page spec...
How Facebook detects your away state (you know, the half moon in the chat window)? How you can check in Javascript if a person is away from your page, even if it's open in the browser?
Do you think there is any library that already does it?
...
I'm working on a project synching a facebook application with a regular website.
The db has got a users table, but the table only has got the user ID of each user of the application. The user id is the facebook user id of the people.
For each user in the users table, I need to fetch their name, and other info from facebook. The client ...
My question is how do you exclude certain networks from using facebook connect on your website. I mean if you want FB connect on your site, can you limit say only people with NYU.edu Emails or people in the NYU network?
...
I noticed that in the facebook the change passwords, they have this nice alert at the bottom telling you that the passwords do not match or if the confirm password is too short.
However when i use the firebug, i do not see any onkeyup or onchange.
And they did it very well regardless whether i type or if i copy a string and paste, it w...
How can I determine via javascript if a user has logged in to my site via
facebook connect or not? Based on this result, I would like to show/not show a <fb:login-button>
button on the site.
If I did something like this using jquery:
<div id="login"></div>
<script>
if (notLoggedIn)
{
$("#login").html("<fb:login-button></fb>");
}
<...
I already import my tweets into Facebook so that they become my Facebook status, but is there a way that I can get my Twitpic/Twitgoo/other Twitter photo services to post photos to my Facebook wall automatically or sync with a Facebook album?
Thanks :D
...
Is it possible to use Facebook connect with Jquery? I've
found some old posts saying it isn't possible, but I'm not sure how things
currently are. I've found that the Facebook connect code is mostly
using Fb as the namespace, while jquery uses the $ sign, so may be it is possible?
...
I've got a Connect application on Rails where we request offline access from all of our users, and tie their Facebook account information to their internal user accounts on our site.
When a user is logged in and reaches our Invite Friends page, they see a working fb:multi-friend-selector, wrapped inside fb:request-form, wrapped inside f...
I'm trying to add FB xmlns attribute to the document's <html> tag (<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">) dynamically. For some reason adding it like below does not work:
htmltag = document.getElementsByTagName ('html');
htmltag[0].setAttribute("xmlns:fb","http://www.facebook.com/2008/fbml");");
How ...
I'm implementing Facebook connect for a website.
The facebook connect code is inside an iframe.
Everything works well but when Facebook is supposed to show a popup dialog (for example FB.Connect.showFeedDialog or FB.Connect.streamPublish) The popup shows inside the iframe.
Since its a small iframe window the popup is half hidden.
Any i...
Tried sth like below and nth happens..
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
FB_RequireFeatures(["XFBML"], function(){
FB.Facebook.init("<?=$apiKey?>", "channel/xd_receiver.htm");
var api = FB.Facebook.apiCli...
I'm trying to call to Photo.upload on the the Facebook API server. As far as I can tell the code to construct the call is good but I can't understand the responce I'm getting back from the server. As far as I can see, this call is ment to work and other people don't get this problem. I can only reason that something is wrong with the cod...
Recently, I've received friend suggestions for my family members overseas - but here's the thing. I have no family members that use facebook, we share no common name, and we're not even on the same continent. In fact, I haven't communicated with them for over a decade.
Yet Facebook knows about them and knows that they are probably a goo...