facebook

Facebook invite Canvas page does not load

I've implemented Facebook Invite as follows: - http://www.jobwalk.com.au/invite.aspx You can login via Facebook and go through the steps (no database update) from: - http://www.jobwalk.com.au The problem is, when I select someone and press Send Invite and in the final stages, it does not load the Callback or Canvas URL. It just has a F...

Asp.net MVC Facebook.Session.ConnectSession.isConnected() returns false when testing on localhost

Im using the Facebook SDK (http://facebooktoolkit.codeplex.com) to include Facebook-Connect into my Asp.net MVC Project. After someone logs into my Webapplication via Facebook Connect (I implemented that Facebook-Login-Button successfully) I want to fetch some data from the User. Therefore I created an ActionFilter that just checks if th...

Facebook sharer.php, how to have multiple og:image tags?

We are using Facebook's sharer.php service to share pages on our site. Right now this works great, but we are now having difficult trying to find out how to offer users more than one thumbnail to pick from (the sharer.php page offers a UI for multiple images, so it must be possible somehow). We have this meta tag currently: <meta prop...

Event Time displaying incorrectly for my Facebook event (submitted via Javascript)

I am currently writing a site that interacts with Facebook and creates events for users. I am using Javascript to submit the event, which is submitting successfully. The problem is, the time that is displayed on Facebook is way off from the time I am submitting. Here is my code: var event = { start_time: '{{ show_time.start_time|...

Fb.ui only shows up after second click.

Hi, I am creating a Facebook application which should allow the user do post something on his/her wall. The main actions take place within a Flash movie. When the user is finished the Flash movie uses ExternalConnection to notify the JavaScript. The JavaScript now display a link, that has been hidden all the time and attach a onClick ev...

Talking to iFrame from ASP.NET code behind

I found this really cool page that allows you to hook up facebook into your site: See here <iframe id="MyIframe" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.EXAMPLE.com%2F&amp;amp;layout=button_count&amp;amp;show_faces=true&amp;amp;width=100&amp;amp;action=recommend&amp;amp;colorscheme=light&amp;amp;height=21" s...

Facebook API - How could I count invited friends by user of my app?

I know that it is possible, I saw it few months ago in one app. I would like to achieve condition: if user invited 3 or more friends then... - How I could check it? How could I show how many users are checked to invite? (I would use multi-friend-selector ) ...

Rails and Facebook connect. Please help!

Hello! I am developing in Rails 3 and I need to use the Facebook connect API (Graph). I am currently trying out the Javascript SDK and it works fine. The problem is I do not know how to "save" and interact with the information I extract in Rails. The best thing would be to use some "native" Rails plugin for Facebook. I have looked a bi...

How to develop applications for facebook?

I have a choice between ASP.NET (preferably MVC) and Python (Django only). Which toolkit is more stable? I have read the comments section of the Facebook Developer Toolkit and it seems that a lot of people aren't happy with it, is there an alternative? What about Python libraries for facebook, are there any good libraries to develop face...

Facebook and Rails 3. Extract cookie data. Please help!

Hello! I am using Rails 3 and the Facebook Javascript SDK and when I login a cookie is created. I want to be able to extract data from this cookie using Rails. I got a PHP code that does the trick but I want to use Rails code. What does the below code written in PHP look like in Rails? function get_facebook_cookie($app_id, $applicatio...

fix problem hebrew on Facebook

hi guys, i have code that know how to connect to user facebook account,and take his name. this function does works well, the problem is , when i try to get hebrew name, than i get gibrish. charset=windows-1255 - i tried UTF-8 too, and still i have gibrish. for gibrish example: ׳׳™׳˜׳ ׳§׳•׳•׳ ׳– the code: require 'src/facebook.php'; ...

Unable to run javascript in Facebook app

I'm trying to convert my once fully functional app from using the ancient feed templates to the new publisher stuff. However, when trying to init the new API I got the javascript error a28251737459_FB is not defined. Unable to debug or pinpoint the location of the error, I tried taking out everything on the app's main page except for <sc...

Why can't I like a comment using Facebook Graph API??

I'm using the Graph API to implement a solution for me and, by this time, I'm able to post to my feed, like the posts, comment them, but I'm not able to like comments (none of them), I get the message: Uncaught OAuthException: (#100) the parameter url is required. Can anyone help?? ...

Facebook places API: is it possible to do a "near by" query?

Is it possible to get places by latitude/longitude and radius using the Graph API (or by address/zip)? I don't see it anywhere in the documentation ...

Using ActionChooser with Attachment for email and Facebook-App in Android

I trying to create a "publish" button for an image in my android app, that works with the Facebook App and Email. This is my code (imagePath is something like "/sdcard/myapp/image.jpg" Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType("image/jpeg"); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+image...

How do I get the Facebook Server Time?

Hi, I have created a facebook iframe app using Flash on the client and .net on the server. I am using fluorineFX to communicate between the two. I need to get the exact facebook server time from my server. This is for authenticating the user on my server so I don't want to get the time from the client and then pass it to the server. Th...

Where can I find tutorials on Facebook's XHP extension for PHP?

I'm very interested in the Facebooks php extension xhp (http://github.com/facebook/xhp/wiki), but I didn't use it so far. I was wondering if anyone can share personal experience with xhp and point me into direction where I can find tutorials about it (wiki on github is very poor). Thanks everyone. ...

How do I get my Facebook Application to automatically ask for required permissions post installation

:::::::::::::::::::::::::: Here's the Solution I ended up with :::::::::::::::::::::::::: <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : '<?php echo $appid; ?>', session : <?php echo isset($session) ? "'".json_encode($session)."'" : 'null'; ?>, // don't refetch the session when ...

Facebook news feed hack? (Facebook.streamPublish)

Can someone please tell me why users are able to publish news feeds with text of their choice from my application? i think facebook is not putting any check on js function "streamPublish" and users can execute this function in browser on run time and can publish any news feed with any text they want. Can someone guide me how to handle th...

Facebook Graph to Array

Hey Forum, I've been looking around for a way to convert Facebook Graph API Data into Array's so I can quickly access 'Like' Data for use on my website. I'm currently using this code to extract 'Shares' (aka, Like's) on a particular link. fb = file_get_contents("https://graph.facebook.com/$url", "rb"); $fb = str_replace('}',''...