facebook

Facebook App in Profile Tab: problems getting the user session

I'm working in a mini-app, which will have 3 pages, and i want all the interaction to happen inside a profile-tab.So, using javascript, i want to show/hide a few divs, which i'll populate using the FBJS ajax object. My problem is, i'm not getting the user session in the ajax calls.As documentation is extremely confusing, i've ended up n...

Delete post from facebook php-sdk

Hello, Is it possible to delete a post using facebook's php sdk? I've been trying all sorts of things but I get this error: Fatal error: Uncaught OAuthException: (#200) This post wasn't created by the application thrown in C:\xampp\htdocs\auth\facebook.php on line 523 My code: <?php require "facebook.php"; $facebook = new Facebook(...

Facebook recommend this site to a friend

I am trying to achieve this but i dont know what i should use. I looked here first If a new user registers to the site and non of their friends have registered when they click on a add friend button Find friends via Facebook Post To F/B Wall (Message "Hey all i am really enjoying this site, come visit.") ...

Facebook JS Integration Error

I have the following code right below the body tag of my application <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({appId: '136904373......', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; ...

FB.getLoginStatus always returns null regardless if user is logged into FB

I'm trying to see if a user is logged into FB on my website. I have the following code below but regardless if I'm logged into my FB account or not the FB.getLoginStatus response is always returning null. <script type="text/javascript"> window.fbAsyncInit = function() { FB.init({appId: 'XXXXXXXXXXXXXXX', status: true, cookie: true, ...

javascript bookmarklet to click Accept on a Facebook Page

I need a javascript bookmarklet that will click the "Yes" button on a facebook page for farmville (or any similar facebook game). The page would say soemthing like "Would you like to accept this gift" and there are three buttons. YEs, Yes and send thank you gift and No. I want to select Yes via javascript. Information related to th...

how to import image from facebook contactlist?

i want to login facebook from my asp.net application.after that,how can i import image from facebook account and show it in asp.net gridview. ...

Next is not defined for a facebook application.

Hi, I am trying to implement Facebook Connect with the new facebook connect.js1. I am following "Single Sign-on with the JavaScript SDK" documented at: http://developers.facebook.com/docs/authentication I Initialized connect.js like following: <div id="fb-root"></div> <script language="JavaScript" type="text/javascript"> wi...

Posting to a facebook users wall from within my appication

Hello I have an application that runs within a facebook canvas page, in an iframe. I have setup a page called wallpost.php that I can call from within that canvas page that will make a post on a users wall, but I want to call that page from my application, instead of the canvas page.. So, my page currently does this after the message i...

Facebook Graph API - Friends using application

Is there a function in the Facebook.php library for getting friends of the user using a certain application. Something like: $friends = $facebook->api('me/friends?access_token=' . $access_token); But instead of listing all friends, it just lists friends using the same application. ...

Facebook: How to build a basic app inside FB with iframe, javascript, and openauth

Facebook: How to build a basic app inside FB with iframe, javascript, and Graph API I've previously built an FB app with FBML and PHP, but everything feels so different with the new way they're doing authentication and everything. There's no "Building Apps the New Way 101" guide either that I can find. How do you build a classic FB ap...

Possible to get open graph data for comments box?

Is it possible to get a list of comments, or at least a count of the number of comments that have been left on a website with the Facebook comments widget? The widget I am using is placed inside an iFrame Facebook application. Here is the XFBML which is being parsed by the Facebook Javascript API: <fb:comments xid="fbtest"></fb:commen...

how to login directly into facebook using facebook api through my ASp.net webservice using c# ?

i created a mathod facebookInfo(string username,string password) ,so i received username and password but after receiving its not possible to login at server side,because ther is only one way to connect to facebook using facebook api ie. facebookservie.ConnectToFacebook(); and its open IE browser,so there is any way to login automatica...

Silverlight Facebook client.

As my final project I wanted to do client for Facebook and twitter using the API's available. But there is not much tutorial or guidance available for me to start this project. And the other idea was to build a Game in Silverlight, which have more tutorials and info on it. I would prefer to do social media client,but if enough help is th...

Facebook users_getStandardInfo is very slow. Is the FQL or CURL slow?

So, I am running a facebook application and I have to call FQL quite frequently. e.g. calling $fbObj->api_client->users_getStandardInfo() with the old facebookapi_php5_restlib However, I found it VERY VERY VERY SLOW to get the response back. I know that call actually use CURL connect to Facebook. So, is the CURL call slow in r...

Unable to use Facebook Places after manually setting Geolocation in Firefox

I am having a play with Facebook Places but don't want to publish my current location for privacy reasons. I therefore changed the geo.wifi.uri in the about:config in Firefox to point to a file containing JSON of my location with the lat and long. This works great and if I test by using Google Maps or the Mozilla Geolocation test I get t...

How do I embed facebook video in static FBML?

Hi, I know it is common that we use the code below to embed a video from you, but how about the facebook itself?? <fb:swf swfbgcolor="000000" imgstyle="border-width:1px; border-color:white;" swfsrc='http://www.youtube.com/v/fZRSpjqzTH8&amp;autoplay=1' imgsrc='http://img.youtube.com/vi/fZ...

How do I grab status updates from a facebook group?

I'm making a website for a organization that also has a facebook group, and keeps it pretty up to date.... So, I was wondering if there was a way to pull the 5 most recent posts. =\ ...

Facebook application suddenly displays a blank white screen

Hi folks, I am just learning myself facebook programming. To start with I am just fetching friends name and likes of friends. Till yesterday, my application was working fine and all echoes in my PHP code were working fine. Suddenly from last night I am just getting a white screen with nothing inside, except the Facebook's stuff around ...

Manage Facebook Page tab apps via Open Graph API?

I have been investigating the Facebook Open Graph API. There is a "manage pages" extended permission which allows publishing to a user's Facebook Page news feed/wall via "impersonation". This is nice functionality, but is there anything more you can do through the API? Specifically, I would like to be able to Add or Remove a "Tab" appli...