facebook-application

How to get the best performance from facebook canvas authentication

Hi Facebook document that you need to do the following for canvas login Include facebook library Instantiate class with App Id and secret Check that the user has a valid session If they do check also that you can get there user object by doing an api call /me If they dont then process the login redirect All this especially the Fac...

How to use Facebook OAuth 2.0 authentication like Zynga and other use it?

I want to display the "Request for Permission" box directly when the user enters http://apps.facebook.com/myfancyapp. The Facebook Authentication documentation is pretty clear on how the URL have to look like https://graph.facebook.com/oauth/authorize?client_id=[APPID]&redirect_uri=http://www.myfancyapp.com/&scope=user_photos,us...

How to develop applications for facebook?

I have a choice between ASP.NET (preferably MVC) and Python (Django only). Which toolkit is more stable? I have read the comments section of the Facebook Developer Toolkit and it seems that a lot of people aren't happy with it, is there an alternative? What about Python libraries for facebook, are there any good libraries to develop face...

multi-friend-selector does not show up on internet explorer

Hi! I have just developed a facebook application. Most of it works fine but the multi-friend-selector does not show up on internet explorer. Although Firefox and Google Chrome working fine it does not appear on IE. Also there is not any error messages. Here is my code for multi-friend-selector: <?php // Prepare the invit...

Facebook Canvas Redirect URL

We've been using the the java-facebook library for quite some time (a few years), though it appears one reason we're not getting any new users through FB, is that new users are seeing an error, which I understand is because of FB's new (in June) security. Currently, we have a "simple" Canvas FB app, using FBML, which users can access vi...

Display photos hosted on facebook in tab app

Hi all, I'm pulling photos from albums on a facebook business page through the api and displaying them on a tabbed app on the same page - everything works as expected, I get urls to the photos that look like this: http://photos-f.ak.fbcdn.net/hphotos-ak-snc4/hs689.snc4/ 62916_492131547984_50574932984_6933281_3552549_a.jpg Now if I tr...

How to intercept the Redirect URL in python

Hi, I am following this link to create a test desktop app using python. http://developers.facebook.com/docs/authentication/desktop I used webbrowser module to invoke the login web page. When user Successfully logs into facebook it redirects to the Dumy facebook success page. Now I am not able to intercept this Redirect URL of Dummy su...

Facebook App: What defines a "user"?

I have a Facebook Application which is ready to be submitted to the Application Directory, but before I submit, it says " Your application must have at least 5 total users or 10 monthly active users before you can submit it to the Application Directory". I have had many users navigate to the canvas page and use the iframe to browse the ...

How to implement Invite Facebook friends functionality as in Gowalla using Facebook API?

How to implement Invite Facebook friends functionality as in Gowalla? 'Invite your Facebook friends to join you" Url: http://gowalla.com/friends/add/facebook ...

Inviting Users to Events via Facebook API

I'm able to create an event via the Facebook Graph API but I have yet to see a way in which to invite users to that event. My fallback is to simply use the old REST API but sooner or later that will be phased out so I wanted to see if anyone had any suggestions. -- Additional side question: While using the REST API (or possibly even...

Facebook Canvas Iframe App Extended Permissions failing

I am attempting to create a Facebook IFrame Application using the Facebook Developer's Toolkit (language I'm using is VB). No matter what I do, I cannot get past this error message from Facebook. App may not request permissions that do not apply to all profiles in the selector I have tried dropping a CanvasIFrameLoginControl w...

Cant add FBML App to Fan Page Tab

Last week we were able to install an FBML app to a Fan Page Tab. Now the Tab will not show up. See screenshot here: http://bugs.developers.facebook.net/attachment.cgi?id=3075 FBML App: http://apps.facebook.com/alice-storefront/ Fan Page Test: http://www.facebook.com/pages/manage/#!/pages/Alice-Sandbox/150177181689663 The FBML app is i...

How to embed a custom SWF based audio player into facebook wall posts?

We have a SWF based audio player. We want to be able to embed this player into Facebook wall posts in the same way that Youtube videos or BandPage songs are embedded into Facebook feed walls. Right now clicking on the image that we provide redirects to the player instead of loading the player inline. UPDATE: We want to embed our SWF pla...

Header("Location: [URL]").....is it safe?

Currently, for authentication for my Facebook App, I'm doing the following in PHP: if($_GET["code"] == null) { Header("Location: https://graph.facebook.com/oauth/authorize? client_id=[MY_APP_ID]& redirect_uri=[THIS_CURRENT_URL]& scope=publish_stre...

IFrame Facebook App Bring User to the Top of the Page

Hey, I currently have an iframe for a facebook application and I am using FB.Canvas.setAutoResize(); to resize it properly. The problem is when a user scrolls down and clicks on one of the lower links, it does not a way to bring the user back to the top. Is there a function or way of bring a user back to the top of the page? ...

Does this count as an app "User"?

I know that when a user visits your app's canvas page e.g. http://apps.facebook.com/YOUR_APP/ this counts them as a "User" and thus, your "User" counter increments. But what about if a person clicks on the Facebook's Javascript SDK Login button on your website without using the canvas page? This one: If they authorize the login and...

Facebook Applications

Hello! I just wanted to know if there is a way to host a facebook application in facebook's servers and not elsewhere. is facebook providing hoting for applications? Thanks ...

Graph API: How to grab current user's information?

I'm trying to get some basic information about a user in a PHP script (id and name). I have tried the following methods: $retrieve = curl_init("https://graph.facebook.com/me?access_token=$accesstoken"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($retrieve, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10); ...

Anyone Know the Lifespan of a Facebook API Access Token?

what is the lifespan of an access token in the FB oAuth API? Not the extended offline permissioning, just a normal access token? ...

Facebook post on page with PHP SDK

Hi there. I'd like to post on page - throught my site. . I didn't find anything that could help me in documentation. Also none of google results gave mi answer. function post_facebook($data=null){ $result = ""; require_once (ROOT. "/apps/configuration/models/ConfigurationItem.php"); require_once (ROOT . "/compo...