facebook

[Django] How to post to a facebook page

Hi! I need to post a status update of one of my facebook page when I create a model into my django project, but I don't know how to do it using the new facebook graph api: http://github.com/facebook/python-sdk/blob/master/src/facebook.py can you explain to me how to do it? Thanks in advance :) ...

Possible to get Fan Page Update Information via API?

I receive an email once a week with information on my Fan Page (like how many more users than last update have become my fan, how many posts, etc). Is it possible to get this info via the FB API so I can show this data where I want outside FB and outside my email? ...

Obfuscated Javascript Code from Facebook Application?

This is the code that was copied and pasted into my address bar: javascript:(function() {a='app117970624901700_jop';b='app117970624901700_jode';ifc='app117970624901700_ifc';ifo='app1179 70624901700_ifo';mw='app117970624901700_mwrapper';eval(function(p,a,c,k,e,r){e=function(c){return (c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCh...

Using Jquery to load Facebook fb:profile-pic - not working in IE

Hey.... I followed the tips given on Loading Facebook fb:profile via ajax In my app, I am basically loading more comments posted by the user via Jquery and along with each comment showing the user's picture using the fb:profile-pic tag This is a sample of how I'm building the string via Jquery $(document).ready(function() { $(".m...

PHP code cannot see query string param on return in Facebook oAuth flow

I am doing some integration with Facebook Open Graph using their oAuth flow and having issues with parsing query string parameters they return. On my callback URL, they pass back an "access_token" parameter with a hash (#). so the callback would be: http://mydomain.com/callback.php#access_token=foobar123 where foobar123 is my access ...

Facebook connect integration (registration & login)

Hi, I'm really struggling to make facebook connection working for my system. What I want to do : When the user is not yet registered on facebook : Fetch some user profile fields into my database (ideqally via my registration page already working for non facebook users) Log the user into my website Redirect the...

How to implement Android Facebook API and retrieve the session key

I am getting the same session key every time i log into. Why am i getting the same session key ? Wonder if someone has worked on this API on Android: http://code.google.com/p/fbconnect-android/issues/detail?id=37 ...

Questions on method to use: Facebook Business Page with Flash or Facebook Application?

Hi there, I'm new to Facebook's Graph API / FBML / etc. So if at any point in my post I make a mistake or wrong assumption, please point them out. One of the projects that I am working on has a need to get data/info from an existing web site in addition to the friends list and such that FB can provide. This is for a platform that allow...

Facebook Like button data for a domain?

We make a widget for media sites and have included the Facebook Like button, so anyone who installs our widget gets the Like button on every page without having to do additional integration work. We'd like to show the site owner some basic data / analytics about Like activity... which URLs are liked, and how many times. I can't figure ...

Facebook connect - automatic trigger 'request extended permissions' dialog

For certain pages(functionalities) of the site, i need different permissions. I am requesting those permissions only if (and when) user is accessing those parts of the site. The normal flow is to display a 'Please allow us to send you emails' link using something like: <fb:prompt-permission perms="email""> Please allow us to send ...

"'" is displayed as u0027 in facebook app - how to fix that?

I have a facebook app that is displaying random quotes - it is written in php. One quote in the database looks like this: "There's only one rule in photography - never develop colour film in chicken noodle soup. - Freeman Patterson" When it is seen on facebook it looks like this: "Thereu0027s only one rule in photography - never dev...

$facebook->getSession() returns null in the example code. is that ok?

Running the example code for the Facebook API I get a null session object, and I should get a non-null object giving the comment in the code. What am I doing wrong? In other words, in my index.php this fragment from the example code shows "no session" when I go to http://apps.facebook.com/my_app in my browser: <?php require './faceboo...

Difference between Facebook query from iphone and from web

Hi, I am creating a iphone application for the existing web application. The fql which is happening at the web is giving me right results but the fql happening at the iphone is not giving all the results. select name, pic_square, pic_big, uid, sex, birthday, relationship_status , current_location, meeting_sex, interests, music, tv, mov...

Posting topic on Facebook Groups

I would like to know whether it is possible to post "topics for Discussion" on Facebook Groups by using either the old Rest API or Graph API? I somehow was unable to find any function within the API which would help me to do so. Any work around or alternate solution to the above problem is welcome. Thanks. ...

What does "?ref=ts" mean in a FACEBOOK APP url

When Facebook drives traffic to an app, they often append &ref=whatever to the query string. This is useful for figuring out which integration points are working or not. I've figured out what some of these mean. For example: ref=bookmarks - the user clicked on a bookmark. ref=game_my_recent - the user clicked on the upper portion of th...

Keeping track of the Facebook session when navigating pages in iframe-based Facebook applications

I'm working on an iframe-based canvas application and have run into a major roadblock in finding a good way to keep track of the Facebook session when navigating between pages within the iframe. On the first page load, the Facebook page passes all the necessary fb_sig parameters to your callback URL via the query string. On subsequent pa...

How do you leave comments/like a specific page of a Facebook Canvas app?

I'm building a tabbed Facebook Canvas app that requires individual images to be "Like"d and commented on. Since each image is loaded up as its own page, in this style: http://apps.facebook.com/appname/image/333/ (which translates to: www.mydomain.com/image/333/) I was hoping I could just get a UID for each "image" page and then comment...

Facebook like button issue.

We're having some trouble getting our like button to work. It seemed to work last week but suddenly it's stopped working. Basically when clicking "Like", we get an error saying: You failed to provide a valid list of administators. You need to supply the administors using either a "fb:app_id" meta tag, or using a "fb:admins" m...

Facebook multiquery result goes wrong?

This is my xml result return from facebook <fql_result_set list="true" xmlns="http://api.facebook.com/1.0/"&gt; <comment> <object_id>340982187784 </fql_result_set> <fql_result_set list="true" xmlns="http://api.facebook.com/1.0/"&gt; <fql_result_set_elt list="true"> <fql_result_set_elt_elt key="object_id">340982187784811202...

Facebook Graph and PHP API

I've been working at this for a few hours, but the poor documentation is of no help. All I want to do is grab the data that exists at https://graph.facebook.com/cocacola/ as an example, and I cant even do that. I'm using the latest php API from facebook. This is my code, which returns nothing: <?php require '../src/facebook.php'; /...