facebook

iFrame App. Permissions Request?

Hi, I want to request permissions when the user first clicks my iFrame Facebook application. The problem is the examples I have seen force the user to click a button to load the http://www.facebook.com/authorize.php URL. Is there a way to iframe the authorize.php page in my application? I've seen it done before but can't find out how. ...

Facebook Iframe App - Strange Redirection Problems

When I'm doing a server-side redirection in a Facebook iframe application, I get the this strange Facebook Logo with a link. When I click it, I get redirected to site I set the redirection to in the first place. What happens here? Any "Click Protection" in place? Thanks! Redirection Code: Tried Client Redirect args = dict(client_...

facebook like button

How to get the number of Likes in facebook like button? Here is my scenario, I have five like buttons, I want to sort the buttons based on the number of likes. Is it possible? ...

Facebook graph API & PHP SDK questions.

I have a couple of problems using facebook graph api. 1). When i try to upload a photo i get the following error "(#324) Requires upload file". $attachement = array( 'access_token'=> (...)', 'name' => 'uploaded foto', 'source' => 'C:\Documents and Set...

Create a note with Facebook connect

I am wondering if it is possible to create a note on facebook through my website using facebook connect. I have notes on my website and I essentially want the ability to be able to push them over to the user's facebook account. ...

Facebook application with video uploading capabilities

I need to upload video files through Facebook application and later visualize all uploaded videos so that people can vote for a video they like. I searched and read some articles, but I still have questions that are not completely clear for me: Is it better to use iframe or FBML If I use iframe is it possible to use input type="file" a...

Get Facebook fan count of age restricted page

I need to get the Facebook fan_count, part of the data returned by the main open graph API call for a page, for an age restricted Facebook page. Anyone know how to do this? For instance: http://graph.facebook.com/BudLight ...

Facebook Business LIKE box is giving an Open Graph error

You supplied an Open Graph type via one of the supported meta tags, but the type you specified "link" is not valid. The above is the error I get when the "LIKE" button is clicked. I tried to set all sorts of OG meta tags. You can see the code live at http://luxe.sonikastudios.com I looked at many different forums etc. but ...

what are the post parameters i need to pass in [http://www.facebook.com/login.php?]

what are the post parameters i need to pass in [http://www.facebook.com/login.php?] Please help me. ...

Facebook cannot redirect the next parameter...

When I authenticate the user, after authentication it does not redirect the next parameter. Instead it redirect the user to the "Canvas Callback URL". If I dont give the convas callback url. then it gives the error An error occurred with experiement. Please try again later. API Error Code: 100 API Error Description: Invalid parameter Err...

facebook graph api - how to post an event to a groups event page?

I want to post an event to a facebook "group" using the graph API from a php application running elsewhere. Basically when someone creates an event on my system I'd like to also publish it as an event in facebook in my group. I created an application on facebook and then get an authorization token using the following URL :- https://gra...

showing message while loading image

Hi, I m creating app. in facebook in that i m trying to show message to user while image is not completely loaded, the message is disappears when image is loaded completely and displayed to user. I used following code: function imageloaded() { document.getElementById('testing').setStyle('visibility','hidden'); } <div id="testing"> <fo...

FB:like (FaceBook like button) and problem with user face (style)

http://www.freeimagehosting.net/uploads/941147e0eb.png I used <fb:like href="my_page_link" width="230"></fb:like> and I have problem with faces. Faces must be after title text but this does not work. How can I fix this problem? ...

Is there reliable method of ensuring crossdomain policy files have been retrieved for all Facebook image servers?

I've recently started putting together a Facebook Connect AS3 app and retrieving objects and images through the Graph API. Running anywhere but locally, I receive security errors of the form: SecurityError: Error #2122: Security sandbox violation: Loader.content: xxxx cannot access http://photos-a.ak.fbcdn.net/xxxx.jpg A policy ...

Session problem using Facebooker with Ruby on Rails

Hey everybody, I am reading the book Facebook Platform Development in order to try to code a small game for Facebook, and I have come across a "little" problem: I am trying to insert a user every time this is logged, into a database in my computer. I am using a couple of methods written in the book, but there seems to be a couple of pro...

Using Facebook Graph API with ASP.NET

Can you recommend a library/SDK which allows me to quickly integrate Facebook Login (using the latest oAuth 2.0 standards adopted by facebook) with my website? I also want to access information from facebook using the GRAPH API and was wondering which is the best library/SDK for that? The important thing here is to use the latest API ...

anybody knows how to close (hide) fbml-dialog using new facebook javascript sdk?

i've wasted 4 hrs today and several hairs trying to solve this issue but failed. we use facebook.connect to auth users on our site and perform various actions. one of this actions should trigger fbml:dialog, i decided to use new js sdk. here's function i use: function popupModalWindow(cat) { var oldSize = FB.UIServer.Methods["fbml.dial...

How to obtain the phone number when reading facebook contacts

I thought it was impossible to read phone numbers of contacts using facebook APIs, but "Facebook for HTC Sense" android application is syncing all that information to my local agenda. Somebody knows how are they implementing this feature? ...

PHP extract article excerpt from a page

Hi, anyone have any idea how to generate excerpt from any given article page (so could source from many type of sites)? Something like what facebook does when you paste a url into the post. Thank you. ...

Are data acquired from Facebook GRAPH API real-time?

I am creating a Facebook application that will download all the photos in an album. The application is created for my personal use and at the same time, learn the Facebook API and JSON. I can already retrieve the URL of the photos inside an album by calling this url: http://graph.facebook.com/[album id]/photos?fields=source The album ...