facebook

Facebook Graph API With iPhone SDK

Hi, Has anyone been able to implement Facebooks Graph API in a native iPhone Application? The documentation is pretty sparse when it comes to iPhone integration, but the calls to get users information looks a lot more light weight than the previous method of using FBConnect. So i would like to use it. I have seen a few posts about bu...

How to use Facebook geo targeting programmatically ?

I can't seem to find how to do geo targeting (filtering a post based on the location of a user) on facebook using their API. Does anyone already managed to do it? This is how you can do it via their interface: ...

Creating Facebook Apps .. going mad

Hi, IU am trying to create my first Application running inside an Facebook Canvas/IFRAME. I am using Zend Framework (PHP) for this project. But I am not able to understand all the different ways facebook is offering. There is an PHP SDK wich works so far. There is an Javascript SDK and something called FBJS? Does someone know a good p...

Facebook Application Parse Error CSS

Hi, Im getting some parse erros when loading in my facebook app through the canvas. Its in an iframe. Can anyone tell me where I can start to look for documentation regarding this? Errors whilst loading page from application Parse errors: CSS Error (line 40 char 36): Error in parsing value for property.: 'font' Declaration dropped. ...

Facebook emails always return null through FQL and RestFB

Hello stackers, I'm trying to convert friend pages into fan pages (most businesses have created friend pages by mistake) and am trying to email everyone on a friend list about the move. I've tried FQL "SELECT email FROM user WHERE uid=xxxx" Creating groups (not good for 5000 friend pages) Restfb: Connection myFriends = facebookClien...

Event handling to detect if user clicks a 'Like' button in XFBML page

I have a Facebook connect app / canvas IFrame app which has a Like control for a fanpage. I'd like to detect when the user clicks the Like button to be able to display additional info (a discount coupon code). I'm using the latest Javascript API but the events that can be handled doesn't seem to include detection of social widget contr...

Facebook Graph API - authorization types?

I'm struggling with the new Facebook Graph API, perhaps someone here can help. Here is what I want to do: provide a ‘login w/ FB’ button, throw to /authorize, get a code, throw to /access_token, get an access_token, and be able to hit https://graph.facebook.com/me for info about the user. When I try to use type=client_cred in the /auth...

How do I replace absolute times ("1:30 PM") with relative times ("15 minutes ago") and have them automatically update?

Is there a Javascript script to change the time and date of blogs automaticly like facebook ??? for example "10 minutes ago" instead of "May 15 2010 12:30". -Thank You ...

Drupal Facebook connect functionality

Hi Guys, I have tried to implement Drupal connect with facebook functionality via fbconnect module. I have installed and set up the plugin. When I click on the facebook button the new popup window is opened and it requires my facebook credentials. After I enter those, instead of just simply logging in to my site, drupal asks of me to cr...

Which Ruby gem should I use for updating a Twitter or Facebook status along with authlogic_rpx?

Hi, My Rails webapp uses tardate's excellent authlogic_rpx gem so that users can register and sign in using their Twitter or Facebook account. Now I need to update a user Twitter or Facebook status. Which gem should I use for Twitter? and for Facebook? Or should I prefer Net::HTTP for both? Since the users authorised my app through au...

fql result count

how to find fql result count? ...

Facebook Oauth 2.0 Token errors

The user clicks the URL that is generated via the code below. $url = 'https://graph.facebook.com/oauth/authorize?' . http_build_query(array('client_id' => FACEBOOK_APP_ID, 'redirect_uri' => 'http://fb.example.com/facebook', 'scope' => 'publish_stream,email,offline_access,user_...

FB Connect JavaScript SDK : Comments Not Working

Hi, I am working on the new API that FB has provided. I tried using FB connect's comment system. I did exactly what is specified in the examples(Or at least I tried to do that). In the code i have used <fb:comments></fb:comments> But when the page is rendered, a iframe appears where My FB page is visible. Sometimes there is nothing! My...

How to trigger dialogDidCancel message from FBPermissionDialog?

FBPermissionDialog is official Facebook iPhone lib. But my code to triggering message - (void)dialogDidCancel:(FBDialog*)dialog is not working. What can I do for this? ...

Facebook Like button working but not sharing

Im using the XFBML version of the Like button but the "Share it" box with the space to leave a comment doesn't show up after clicking "Recommend". The rest works fine. Im using this code: <fb:like href="www.google.cl" width="300" action="recommend" font="lucida grande"></fb:like> And, in the end of the page </body> <div id="fb-root...

What does og:image meta data do with the Facebook Like iframe?

I am working on putting the Facebook "Like" iframe on a site, and I am trying to follow the example found at http://developers.facebook.com/docs/reference/plugins/like. I am putting in code similar to this: <meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/&gt; But when I "Like" a page, it doesn't do anything with...

Getting Facebook App's User Public Information

I have a client who would like to pull public information about people who "like" some of their web pages or are associated with their Facebook app. I wanted to do a proof of concept, but we really don't about any particular methodology. Another option we want to explore is to assume we have captured a Facebook user ID/email. Can we us...

How does Facebook detect images when adding a link?

When you add a link to your Facebook page, after some processing, Facebook presents you a next/prev button to choose an image linked to the url your are inserting. Obviously, Facebook reads the html-page and displays the images found on the url you insert. Does anyone knows what algorithm Facebook uses to decide what images to show ? ...

Facebook Photo upload using PHP/Java

Is there a way I can post photos to my facebook profile using my username and password only? The code may be in PHP or Java. Can I use the facebook java api, if yes how? I dont want to make a facebook app and allow it to post photos to my profile. Any help is much appreciated. Thanks in advance. ...

how to find all occurrences in REGEX with

My code is: #include <boost/regex.hpp> boost::cmatch matches; boost::regex_match("alpha beta", matches, boost::regex("([a-z])+")); cout << "found: " << matches.size() << endl; And it shows found: 2 which means that only ONE occurrence is found… How to instruct it to find THREE occurrences? Thanks! ...