facebook

How can I get the new Facebook Javascript SDK to work in IE8?

I've boiled down my page to the simplest possible thing, and it still doesn't work in IE8. Here's the entire html page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="...

Facebook graph api for PHP resources!

Hi guys, I am creating a little flash game for the facebook platform, but I am finding it very difficult to get any decent documentation on the graph api and the PHP SDK, so if anyone has a decent resource for a beginner to go and learn the basics, I would appreciate it very much, as I am struggling to grasp the concept. Thanx! ...

problem to create session of facebook

try { HttpClient http = new HttpClient(); http.setParams(new HttpClientParams()); //http.getHostConfiguration().setHost("http://www.facebook.com/"); http.setState(new HttpState()); String api_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; ...

Facebook app invite from inside the app

Hi, i want to make a facebook flash app. Now im trying to make it possible to invite your friends to the app. I want to do this from within actionscript without the user having to leave the app. The ideal solution would be to make a custom interface show possible invites and then doing some URL request containing the friends id's Anyo...

FaceBook Login Problem

Hi All, I am going for an application which extracts information from facebook search, hence i require to login facebook. i have registered my application in facebook developers site and have got api key and secret key. in my code i am getting an exception when i am trying to login. Here is my code for login to facebook: import com.fac...

Redirecting the Facebook app link

Example: Zynga's Poker Facebook app has the following URL: http://www.facebook.com/apps/application.php?id=2389801228. However when you follow this URL, you get redirected to www.facebook.com/TexasHoldEmPoker. How do I set up similar redirect with my Facebook application - from facebook.com/apps/application.php?id=NNNNN to facebook.co...

Create event for another owner using Facebook Graph API

Hi, I'm at the moment working on a web page where the users who visit it should have the possibility to create an event in my web page's name. There is a Page on Facebook for the web page which should be the owner of the user created event. Is this possible? All users are authenticated using Facebook Connect, but since the event won't ...

Facebook+php: upload photo to your friends' specific album

I would like my application to upload photo to a specific album of my friend. photos.upload(); can take albumid and userid as parameters, but it says "invalid albumId" whenever I try to upload it into my friends' albums, where as it successfully gives out the pictureId if it were to upload in my own Albums. ...

problem with share products on facebook

hello.. i am using facebook sharer for share products which is in my website into facebook. i tried all the ways to do this..but i don't know where is the problem. when i am clicking the facebook icon in mysite then it redirecting to facebook and not displaying product name, product image, description of product. it cames untitled docu...

How to ask for permission in facebook application?

Hi, I am developing a facebook application (FBML) and i want to ask for certain extended permissions for the first time a user comes to app. How to do that? Note that I am not using new graph API for this app. ...

problem to create session of facebook login

import com.facebook.api.FacebookRestClient; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpState; import org.apache.commons.httpclient.NameValuePair; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.PostMethod; import org.apache.commons.httpcli...

Security problem using JQtouch

I own a website that has an API - every service that wants to use this API must have an API key and a Secret and the active user must have a cookie of my site. Let's say someone wants to develop an app using JQtouch and my API - the problem is that JQtouch is "client-side" - meaning that EVERYONE can discover the API key and Secret and ...

Facebook Graph API authorization problem

If I load the following URL in Firefox and login to Facebook, I'm getting a page displaying "An invalid next or cancel parameter was specified." https://graph.facebook.com/oauth/authorize?client_id=c8caf78d724d142ee82334131ef5c9ce&amp;redirect_uri=http://www.facebook.com/connect/login_success.html&amp;type=user_agent&amp;display=touch&a...

Conversion of Facebook PHP string to Javascript

$facebook->api_client->stream_get('','','','','','app_YOURAPPLICATIONID',''); Oh dear, shows that I'm lacking motivation.. What I would like is to have the Javascript equivilent of that line. ...

Facebook User Authorization to use an application

I have a .net website and I want to post messages by the facebook api to every user's wall.I want via an application to post messages, but the error message when i execute Stream.Publish is "The user hasn't authorized the application to perform this action". I am using the Facebook Developer Toolkit. I believe that i make something wrong...

How to convert Facebook created_time to Java Date?

Hi, I have a FQL statement like this: String query = "SELECT post_id, actor_id, target_id, created_time, message FROM stream WHERE source_id in (SELECT target_id FROM connection WHERE source_id=<userID>) AND is_hidden = 0"; I just wondering what kind of time Facebook gives to me. The result of my statement will be mapped to a wrap...

What's the shebang (#!) in Facebook and new Twitter URLs for?

EDIT [10/15]: added an example from the new Twitter too to make this question easier to search for. I've just noticed that the long, convoluted Facebook URLs that we're used to now look like this: http://www.facebook.com/example.profile#!/pages/Another-Page/123456789012345 As far as I can recall, earlier this year it was just a normal...

post on facebook page wall as facebook admin through facebook php api

Hi, I would like to post feed to facebook page wall as page admin. I can publish post to facebook wall with publish_stream from fb php api, but it is just as a normal facebook user. May I know how can I do likewise as a page admin (meaning that the post publish from facebook page and not from other fb user on the page wall)? Thank you....

adding comments like facebook with ASP.NET

Hey, I'm developing an blog using ASP.NET, and I want that the user can be able to add comments. So I want to implement the idea of facebook on adding comments. The comment will be stored in the database, so I will be able to load it with the page if the user goes to another web page. You have any idea how can I do this thing ( Ajax...

"Unsafe JavaScript attempt to access frame with URL..." error being continuously generated in Chrome webkit inspector

Chrome (or any other webkit browser) throws a ton of these "Unsafe JavaScript attempt to access frame with URL..." when working with the Facebook API for example. It doesn't interfere with actual operation, but it does make the javascript console basically unusable. I'd like to know if there is a way to suppress these errors specifical...