facebook

How can I distribute a bookmarklet in FBML?

I have a JavaScript bookmarklet that I'd like fans of a certain page to take. Unfortunately, the only way I've found of distributing it is giving them the raw JavaScript source, which is then problematic to add as a bookmark. Ideally, I'd use <a href="javascript:/*my bookmarklet*/">Drag this to the bookmarks bar</a> But FBML filters ...

Content for fans and non fans fbml?

I know that using fb:visible-to-conection allows you to display content to fans but how do I hide content from fans? Example if I have "you must be fan to view this" how do I remove that text when they are a fan? I'm using static fbml app btw. Any help appreciated. ...

how to upload photo with facebook API APS.net

How Can i upload file automatic with facebook API Develop ASP.NET and C# ...

Facebook user language / internationalization

I'm developing a Facebook application for a business page. The application can only be accessed as a tab, meaning there is no box or direct access intended. I've done my share of searching and even though I hate asking for help when I know the information I'm after must be there somewhere, I've reached the point of exhaustion and beg for...

Facebook Fanpage Wallposting from C# App

Hello Guys I have the following challenge at hand: I have a fanpage for a apartment renting company. They would like to autoupdate their fanpage everytime a new apartment is added to the system. The system is developed in C# ASP.NET 3.5. I have downloaded the Facebook C# API From codeplex. Have anyone done this, or know how to do it...

showPermissionDialog with ExternalInterface (facebook/ flash)

Hi. I trying to pomp showPermissionDialog for allow the user to post something in a friend Wall. I have the flowing javascript code: <script type="text/javascript"> function showStreamPermissions() { FB.Connect.showPermissionDialog("publish_stream", doResult); } </script> On may as3 class file i have this code t...

Google single signon?

Facebook has linked accounts, where facebook logs you into facebook everytime you are logged in with your google account. So if you're logged in into gmail then visit facebook.com, facebook will automatically log you in! How do you do this for your own domain so that when a user visits your website it logs you in into your domain? (Do...

Facebook App : Problem with storing user info

I want to store basic user info like name and proxied email into my MySQL database. Here's my code $facebook = new Facebook($appapikey, $appsecret); $user = $facebook->require_login($required_permissions = 'publish_stream','status_update','email'); $con = mysql_connect("xxxx","xxxxx","xxxxx"); if (!$con) { die('Could not connect: '...

How to post images with text in facebook integration in Iphone sdk

Here Iam having a problem.Actually I implemented the facebook integration in my application and I need to post the images with text but I dont have any idea how to work on this.can anyone suggest this with a sample code so that it is very helpful for me. Anyone's help will be much appreciated. ...

IS there any API in facebook connect like twitpic API in twitter to post images in Iphone sdk

Hi guys, Is there any API call for facebook connect like twitpic in twitter to post the images. Actually I need to post the Images and related status with in a single post. Please guys help me to get out of this problem. Anyone's help will be much appreciated. Thank you, Monish. ...

How to Integrate Facebook Connect with Android

How to integrate Facebook Connect and API with Android Application? ...

Facebook connect JavaScript with PHP

I'm using the JavaScript method to sync/login (with the popup) with Facebook Connect on my site, it seems to work. However, after I get logged in, I want to continue in backend, with the PHP library. I see the cookies are set by the JavaScript lib, but I don't know how to use them with the PHP api. I used $fb = new Facebook($api_key, $s...

Facebook RESTful API require_login() callback

Hi, I'm trying to authenticate a user through the RESTful API (not Connect) but I can't since the callback system does not work for me. I have a local app that creates the Facebook API object with my key and secret, then calls the Facebook API require_login() method; I am sent to Facebook login, I login, and then I am sent to http://www...

How to Prompt user with permission dialog in iframe application

Hi, I am using Facebook.showPermissionDialog("read_stream,publish_stream, offline_access, email") to show permission dialog. Its working in FBML mode but the problem is in IFRAME mode. The below code also works fine in FBML mode but not in Iframe mode. fb:prompt-permission perms="read_stream,publish_stream, offline_access, email">Al...

Give people a price on my website when they join my facebook network

I was wondering if it is possible to give people something when they join my network on Facebook. I am working on an website where people have to buy credits to get certain services. I want to give them 3 free credits when they join the group on Facebook. Is this possible? I am also new to Facebook, so i don't know what to create. Sho...

Facebook event creation through iPhone app and Facebook Connect

How is this done? Is it even possible? All the function calls seem correct, but the result is always false: NSString *event = @"{\"name\":\"A party\",\"start_time\":\"1215929160\",\"end_time\":\"1215929160\",\"location\":\"Somewhere\"}"; NSDictionary *params = [NSDictionary dictionaryWithObject:event forKey:@"event_info"]; [[FBRequest ...

Facebook api get a fanpage posts to dislay on own website??

Hi, So i am able to display my own facebook wall posts on my own website,( just the last 4 posts). But i like to display the last x wall posts of a fan page i admin?? How do i get the wall posts from my page?? I am a fan of this page but how do i use stream_get to get the wall post?? regards ...

How to create a share button in AS3

I was wondering if anyone knew a good way of creating an AS3 Facebook share button? I need to be able to customize the title, description and picture. Thanks! ...

Facebook fbml add fan button to page

Hi, I'm trying to figure out how to add a Fan button to a Facebook page (right next to the company name - I've seen this done on a few pages, see for example: http://bit.ly/briOvF ). I've added the FBML application though can't find a great deal of information on the code required for the actual button and then how to place the button on...

How to check undefined javascript value in facebook?

In normal javascript, I can check either if (i == undefined) or if (i === undefined) or the "typeof" however, within facebook, it will have the api_key append as the prefix in undefined. i.e. it will become if (a12345_i == a12345_undefined) which is NOT undefined so, what can I do to find out the variable is undefined or not...