facebook-application

Getting a black frame inside the iframe while clicking a tab item in Facebook iFrame application.

Hi, I am developing a Facebook iFrame application for an existing site. I load the web page using the <iframe> code. I also have a tab section, with tab-items Home, InviteFriends etc. But there is a lot of empty space between the tabs and the loaded web page. This is my index.php file <?php require_once 'appinclude.php'; $user_id...

facebook friends-of-friends

Hi All, Quick question. How can I get the Facebook ids of the current logged in user’s second degree friends or friends-of-friends? Sample sites that do the same behavior are the ff: vark.com thread.com ...

Facebook API - How to display Wall on Tab?

Does anyone know how this page is displaying the Wall? See bottom of tab. http://www.facebook.com/pages/Friedlich-Chiller/216826602036?v=app_178091127385#next Looks like a plugin, but I can't find in the documentation anywhere. ...

Facebook: Is there a way to check that I have certain permissions?

I started developing a Facebook app using the new Graph API. I want to check if I have certain permissions, (say publish_stream for example) for a certain user. I know that the old REST API had users.hasAppPermission, but I don't see anything parallel to that in the new Graph API. How can I do this? ...

Is there a limit to the number of test friend requests that can be sent by a sandboxed Facebook app?

Been tweaking my app's invite process and sending invites to two test accounts. They've worked fine. In the last few days, my friend requests are not being sent out to the test users. Is there a finite number of times this can be used in a sandboxed app? I set up another test app and a request went through okay. ...

Problem getting FB JS SDK to work on FB canvas app.

Hello, I am migrating my Facebook canvas application to using the new PHP SDK. However, I am having a problem getting the JavaScript SDK to work too. I'm wanting to take advantage of methods such as stream.publish in the JavaScript SDK. Unfortunately I've not been able to get anything to work thus far. I have the following in the heade...

fb:serverfbml won't render on Opera and IE

Hi there, I asked the same question in Facebook developer forum, but for some reasons I want to repost it here. I hope that's okay. I have the following fb:serverfbml snippet. <fb:serverfbml id="invite_friends_form" style="width: 100%"> <script type="text/fbml"> <fb:fbml><p>Testing FBML rendering</p></fb:fbml> </script> </fb:s...

How does one retrieve the fan_count for a Facebook application page using the Graph API?

I need to retrieve the number of fans for a given Facebook application. Using the GraffitiWall application example in the Facebook Graph API, that page displays a fan total numbering somewhere near 1.2 million. The Graph API, however, returns no fan_count: { "id": "2439131959", "name": "Graffiti", "description": "Graffiti lets you dr...

FB.Canvas.setSize simply fails after a refresh? (facebook iframe application)

I've created a facebook connect application, iframe. I'm using it under apps.facebook.com/app-name. It seems that after a refresh, the setSize() method simply fails. sometimes works, sometimes doesn't... (under latest Firefox and IE) is there a solution for that? would you recommend using the old API instead? testcase: <!DOCTYPE html>...

User should view my facebook Wall page, even though they are not logged in?

I have a Website, when user click on ( Follow us on Facebook ) button it should link to my Facebook wall page, example ( http://www.facebook.com/totallydriven ) I have added Username as totallydriven in My Account page, But when my user clicks on ( follow us on facebook ) button, facebook is asking to log-in to view my wall. What is t...

Facebook Authentication Workflow - Overly Complicated?

I'm trying to build a canvas iframe application for Facebook. The app needs to do a couple of things: Within Facebook display a leaderboard comparing you to your friends Post messages to your wall Facebook recommend building all new apps as iframe apps, hence using this API. I've downloaded the PHP SDK and installed the example as m...

scrollbars randomly appears in facebook iframe app

Hi, I'm developing a facebook platform app based on the tedious iframe. One thing I very can't figure out is why scrollbars appears randomly in the iframe. I tried using: FB.Canvas.setAutoResize(); and FB.Canvas.setSize(); in the window.fbAsyncInit = function() {} It seemed this was the trick, but it wasn't. Anyone exper...

Facebook Developer Toolkit question - difference between all.js and FeatureLoader.js.php

Ok can someone explain to me the difference between: <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script> and <script src="http://connect.facebook.net/en_US/all.js" type="text/javascript"></script> They seem to be two completely different libraries, but which one ...

How to differentiate whether user is coming from FB app or the standalone app

I've a rails application that acts as a Facebook app as well as a standalone app. Now I need to differentiate from where the user is accessing the app. What's the easiest and sure-shot way to do this? ...

Facebook app link not redirecting to Facebook canvas page

Launching my canvas page Facebook app is driving me crazy. When I posted it's link (http://apps.facebook.com/digitalhitcelebrity) to a fan page wall the FB "attach link" button grabbed the app's callback url (http://www.digitalhit.com/celebotd) instead. The strangeness occurs here: if you go to the the callback url when NOT logged in it...

how to base64 url decode in python

for facebook fbml apps facebook is sending in a signed_request parameter explained here http://developers.facebook.com/docs/authentication/canvas they have given the php version of decoding this signed request: http://pastie.org/1054154 how to do the same in python? i tried base64 module but i am getting Incorrect padding error: >>...

Can I use pyfacebook django middleware without going to canvas?

Hi everyone. I am using facebookdjango, with @decorator_from_middleware(FacebookMiddleware) @facebook.require_login() decorators, which always redirect to the facebook canvas page, I wonder if I can be "canvasless"? Thanks. ...

Accessing data from response of FB.api()

I am having difficulty accessing the returned JSON response data from the new Facebook JS SDK new Graph API calls. For instance, in some of their docs where they are using the old way of using the SDK , they get a pointer to the data by response[0] but here, it's showing that you need to use response.data[0] instead: http://developers....

How to access server Database from Facebook?

Can I access My own Database(on my server) using Facebook API's or its just not possible as Facebook wont allow to use Database from other web server. I want to create an facebook application that will take all the info from friends profile and save it in my database(i.e on my server). Actually i have not worked on any Facebook applicati...

How can I track accepted invitation sender on facebook app?

Situation: user A send invitation to my fb app to his friends X, Y and Z. Users X and Y has accepted invitations, but user Z not. How can I track haw many users accepted invitations? I want to take some privileges for user A based on accepted invitations count. Is there any method to track sender_id when invitation accepted? ...