facebook

FQL from ASP.NET

Hey, What's the easiest way to perform an FQL query from an ASP.NET application? Do I have to download the Facebook Developer Toolkit (which I only want to use as a last resort), or is there an easier way (maybe through javascript)? I'm not doing any heavy queries if that makes a difference. (I simply want to get the user's profile pic...

Facebook connect PHP API - friends_get() returns empty array

Couple of hours ago I succeed to get friends_get() to return an array of friends, but, now I don't know if it is my fault or something is wrong in facebooks' end (API problems?). Anyway I used a code from their documentation: <?php require_once 'facebook-platform/php/facebook.php'; $appapikey = ''; //CHANGE THIS $appsecr...

Retrieving my own data via FaceBook API

I am building a website for a comedy group which uses Facebook as one of their marketing platforms; one of the requirements for the new site is to display all of their Facebook events on a calendar. Currently, I am just trying to put together a Python script which can pull some data from my own Facebook account, like a list of all my fr...

Get Album from Facebook Application\Fan page

Hey all I am using Facebook toolkit for .NET and I am trying to to the following without success: I have facebook application with PHOTOS module inside (it has a few albums) - I want to use getAlbums() for the application to get the album ID. When I am using GRAPH protocol, i get the album id, and when I try to use Photos.Upload to th...

Facebook connect

Hi, I have an asp.net site and I use log in to facebook calling http://www.facebook.com/login.php?api_key=API_KEY&amp;connect_display=popup&amp;v=1.0&amp;next=http://localhost/site/login.aspx&amp;cancel_url=http://www.facebook.com/connect/login_failure.html&amp;fbconnect=true&amp;return_session=true&amp;skipcookie=true Logs in very well...

Using new Graph API to pass a var from PHP to .swf file - Facebook Application

I am using this in my .php file and I want to pass the user's photo variable into a .swf file. <?php require_once 'src/facebook.php'; $facebook = new Facebook(array( 'appId' => 'xxxxxxxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxxxx', 'cookie' => true, )); $me = null; if ($session) { try { $uid = $facebook->getUser(); $me = $facebook-...

Problem with fb:swf in Opera

Hi, I am embedding my flash game in the following way, which runs fine in IE, Firefox, Chrome but doesn't play in Opera. Please suggest what is wrong here. <div> <fb:swf waitforclick = "true" wmode = "opaque" width = "640" height = "480" imgsrc = ""http://mygame.jpg" ...

Retrieve user's messages from facebook account

Hi! I trying to retrive user's messages using fql query, I have this code string fqlOutput = MainForm.stFacebookService.Api.Fql.Query("SELECT author_id,thread_id,body FROM message WHERE thread_id in (SELECT thread_id FROM thread WHERE folder_id = 0)"); XDocument xml = XDocument.Parse(fqlOutput); ...

Facebook Open Graph without a browser

Hello, For a middleware system with internet (which works inside a set-top box) I want to develop a primitive Facebook interface where users can type their user-names and password, showing their latest notification, messages and other casual stuff on the TV screen by using the recent Facebook Graph API. This middleware program uses Jav...

Fetching facebook user events using graph.

I am trying to write an application that uses facebook user's events as a possible data source and unfortunately I can log in and get an access token which I can use to get my picture and UID but when I try to access my events I get an empty array. Does anyone know how I can go about doing this? I am using Facebook's new Graph API but...

New Facebook like button HTML validation

After adding the new facebook like button to my page, it no longer validates using XHTML strict. The two errors I come across are: All of the "meta property" tags say that "there is no attribute "property"" All of the variables used in the like button line are listed that there are no attributes for it. The line is as follows: <fb:l...

When I use facebook connect how much access do I have to the user's friends?

So, if you sign in using facebook on my website, how much access do I have to your friends? I am asking this question because I want for example to know if a user asks me a question about his/her friend, I can go through their Facebook status messages for example and tell them the answer depending on parsing information but do I have acc...

How to add facebook insights to my app using facebook api

Hi All, I have developed application in facebook. I want to show the insights for my app in facebook as facebook displaying in this url(http://www.facebook.com/insights/). Where are how to add meta tag in my webpage window.fbAsyncInit = function() { FB.init({appId: 'appid', status: true, cookie: true, xfbml...

how to make invite friends button in an iframe application made using facebook developer toolkit

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? ...

Update FB:Like URL Dynamically using JavaScript

i'd like to change the URL to like of an FB:Like button dynamically using javascript. right now i've only been able to change the href attribute of the fb:like tag (i've pasted the code below). but simply changing the href doesn't seems to work. perhaps i have to re-initiate the FB:Like button, but so far i can't figure out how.. funct...

Facebook Oauth Logout

I have an application that integrates with Facebook using Oauth 2. I can authorize with FB and query their REST and Graph APIs perfectly well, but when I authorize an active browser session is created with FB. I can then log-out of my application just fine, but the session with FB persists, so if anyone else uses the browser they will ...

Why facebook.php does not work?

I am trying to use facebook API and some functions/objects used in tutorials are NOT defined in facebook.php (downloaded from github.com). Am I so silly or is there some other think I should know? Thanks for help, Roman ...

URL encoding for document.location.href

Hello - I am building an iFrame and am using document.location.href -> my exact code is: <script type="text/javascript"> document.write("<iframe src='http://www.facebook.com/plugins/like.php?href=" + document.location.href + "&layout=standard&show_faces=false&action=like&font=verdana&colorscheme=light' frameborder=0></iframe>"); </scr...

Is there a better way to publish to stream (Facebook) from an Android app?

The "unofficial" FB library is not working very well, so looking for alternatives. In case there aren't what is the most straight forward way to use the library for this purpose solely? ...

Publish on facebook page on behalf of the page with the new graph api.

Hi, I'm trying to publish on a facebook page with the new graph api. I can do it, but only on behalf of the user (even if he is the page admin). How can I do it on behalf of the page (didn't find any documentation about that in facebook) ...