facebook

facebook API limitations

I was wondering what are Facebook limitations. My client wants such project: 3. App allows user to post photo on their facebook page and share it with their friends with a message. Can Facebook API allow all these steps to be accomplished? ...

What should I use for session_id for a facebok IFrame app?

I'm working on an IFrame apps in Facebook. I use the PHP SDK provided in facebook. and I can login. However, what should I use for session id in PHP? should I use the default PHP session id (by the server)? or should I use the 'sig' that I got from the facebook SDK? (i.e. the $session = $facebook->getSession() , $session['sig'] ) I'm...

Facebook Permission request form for Crawling?

I have been Googling for sometime but I guess I am using the wrong set of keywords. Does anyone know this URI that lets me request permission from Facebook to let me crawl their network? Last time I was using Python to do this, someone suggested that I look at it but I couldn't find that post either. ...

Facebook API - Only retrieve friends of user who are 21+

I'm in need of a way to fetch the friends of a user but only those who are 21+. I'm aware of "admin.setRestrictionInfo" but it doesn't seem to be working. Seeing as how the Facebook documentation is in a constant state of disarray I wouldn't put it past Facebook to depreciate to call and not updating the docs. Any help would be much a...

Does anyone have a validation schema for Visual Studio 2010 for XHTML+RDFa?

Visual Studio validates XHTML 1.0 Transitional by default. There are custom solutions for validating HTML5. But if you are writing a site that uses any part of the Facebook API or the meta property tags then your HTML is probably invalid. Most people don't know to change their DOCTYPE to this: What I'd like to know is, does anyone hav...

Can't add comments to photos in Facebook Android application

I am trying to develop a Facebook application for Android. I am unable to integrate the "Add Comment" feature to photos in Facebook Albums. Using the Graph API, I can show the previously made comments on a photo. However, I just can't add new comments to a photo. Can somebody provide me some helpful advice? ...

most popular social sites to link to? twitter, facebook, delicious, evernot? how to know?

I don't know if this could go on stack overflow, but I'm trying to figure out what the most popular social sites are, so that I can add only the most necessary, and not add 30 sites to the "share this" feature i'm adding to my website. My site is comprised of unique articles on history and science and stuff like that. How would I find t...

Facebook: How to publish multiple images to an application profile without the "See more" text appearing?

When I try to do this using the api, all of the images are collapsed. When I use the "post to" button on the app profile page itself, multiple images cannot be posted Other applications are able to do this. As an example, see Fantasy Kingdoms: http://www.facebook.com/apps/application.php?id=213518941553 ...

Send news feed with the new facebook.php class

Hi i'm new developer of fb apps and i want to know how can i send a message to the wall of my friends using the new facebook.php class http://github.com/facebook/php-sdk I do it this $result = $facebook->api('/me/feed/', 'post', array($ids,'message' => 'Playing around with FB Graph..') ); This code work for the firts time i c...

How could I change window's location without reloading and # hack?

At first I thought that hash hack is a requirement, however judging from the recent updates from facebook, I am thinking otherwise. The original hash hack (I am not sure if this is the correct term) is that by changing location.hash, one may save a state in the URL without refreshing the page. That is extensively used by Google's apps, ...

Facebook/Twitter Auto Posts Allowed with oAuth and ASP.net?

Does anyone know (or tried successfully) if you can write a .net page/script that will automatically post to a "corporate" facebook or twitter account behind the scenes. In other words the twitter and fb accounts are the website owner's who's a realtor. When an update comes in via an XML feed and updates the listing, the code should th...

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

Python Facebook login

How can I make a Python script which checks if I have logged in the Facebook? If I haven't, it should log me in. ...

Facebook like button should not use canonical link

I'm implementing the Facebook "Like" button on our site, using the Javascript SDK. It's working brilliantly, but when a user posts a comment, that message links back to the canonical link in the <head> section. that's severely unwanted behaviour. Why go through the trouble of manually providing a link to have it overridden? Anyone kno...

Facebook PHP API/App: iFrame

I have a simple App that used to work in the old API. It's an iFrame app and I can't get the user session with the new API no matter what I try. Here is the code I have now: <?php error_reporting(E_ALL); require 'facebook.php'; $facebook = new Facebook(array( 'appId' => 'xxxx', 'secret' => 'xxxx', 'cookie' => true, )); $sessio...

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

Facebook extended permissions and interested_in property

Which Facebook extended permissions makes the interested_in property of friends show up? I've tried using friends_about_me, friends_relationship_details, and friends_relationships. Which one is interested_in located? I'm using the Facebook SDK for iOS devices by the way. If not enough are found, is it because I'm doing something wrong...

Logging into Facebook without a Browser

I'm working on a script currently that needs to pull information down from a specific user's wall. The only problem is that it requires authentication, and the script needs to be able to run without any human interference. Unfortunately all I can find thus far tells me that I need to register an application, and then do the whole FB Conn...

How to find out a user is logout or not in Facebook iFrame App?

My application is iFrame App. Before, I can use $_REQUEST['fb_sig_logged_out_facebook'] to determine the facebook user is logout or not. However, with iFrame, I don't see that variable passing in. What can I do? I'm also using the new PHP SDK but it doesn't have any function to help me on that. What I want to find out is whether th...

How can I get my Facebook app users to change their settings?

The default settings for which information friends can share does NOT allow friends to grant an application access to "interested in and looking for" and "religions and political views". Most Facebook users have not changed these settings, meaning that only the users that have explicitly allowed friends to share interested in informatio...