facebook

How to get a list of friends the user invited in a Facebook app?

When users invite friends to my Facebook application with e.g. fb:multi-friend-selector, how can the application get a list of friends (uids) the user just invited? My application has internal "groups" and I need to connect the invites to these groups and therefore have this possibility. We all know Facebook's documentation isn't very v...

redirect user to login page without using fbml on facebook page

Hi, so i'm creating a login_url using php framework and getLoginUrl(). if my facebook app is setted as an FBML page, something like this works fine echo '<fb:redirect url="'.$login_url.'" />'; but i need my facebook application configured as an IFRAME page, so it will not be rendered as FBML. whats the best way to redirect my user ...

Problem using the facebook javascript sdk.

Hi, I am using facebook javascript sdk to retrieve logged in users info. I am able to retrieve user's name and Id with response.id and response.name. I want to see the complete json response I get from facebook. I am new to json. I want to be able see the entire response. I appreciate any help. function login(){ FB.api('/me', fu...

Do you know how I can authenticate an app for Facebook in PHP?

I'm trying to to get tokens so something like that so that an app will be able to search a user in Facebook. I've tried http://github.com/facebook/php-sdk but it is either for authenticating a user or it is not working. For example this one is for authenticating a user to the app http://github.com/facebook/php-sdk/blob/master/examples/...

Multiple videos meta tags for Facebook

We have multiple videos on a single page. How can we add unique meta tags for image_src, video_src etc for each video on the page so that Facebook picks the right video and its image for preview which user intended to share? Is this possible? ...

Getting (a) title (b) summary and (c) relevant images of web page, a la Facebook status updates

Did you ever submit a link in your Facebook status? When you do, they do something very nice: They get a title, summary, and bunch of relevant images from that page, and you can choose one of them as thumbnail. I need something like that right now. Is there any open-source piece of code that does this? (It needs to be in Python because ...

How you get access tokens for Facebook?

http://github.com/facebook/php-sdk/blob/master/tests/tests.php How you get the access token for my own app? ...

Facebook application - basic database design

My User table (mysql db on a other server) has a FaceBookId Column. How do i filter it by friends? I mean Select * from User where FacebookId in SomeTypeOfGetFriends(of me ... the logged in user) what's the best way? should I first get the friends in an array, then do a FacebookId IN (array) ? OR: For every user that logs on, I co...

getting last date user clicked like on anything on facebook

Hi, i developing an app on facebook and want to get the last date that user of my app liked anything on facebook. it doesn't matter if its a page, post, comment, link or whatever u can like on facebook. is it possible? thanks! ...

Facebook API Common Friends

Is it possible to get common friends using a Facebook API (the intersect of two friends lists)? For example if you use the Facebook graph API you can do something like https:..//graph.facebook.com/me/friends but if you do https:..//graph.facebook.com/220439/friends there is a privacy error... But if you can see the same informati...

Authentication in Facebook Canvas App using New Graph API

Hello, I am building a Facebook canvas application that loads in an iframe with Django. I would like the login process to work similarly to the way Zynga does it. In this method, if you are not logged in you are redirected to a Facebook login page and then to a permissions request page for the app (without any popups). As far as I can...

android as view layer of spring mvc

We are trying to convert one of our J2ee web application to android application. The idea is that android device will be kind of view layer of spring mvc. Basically the andoird application will invoke the controller on the server and the controller will respond with JSON to the android application. Kind of RESTfull way of doing it. Quest...

Create Facebook wall post from embedded application

Hi, I'm working on a project where I want to post a wall message to the users Facebook page but the problem is that the program will run on a very limited system and the only way I have to talk with Facebook is via sockets in C/C++. Anyone have any code examples of how to do this? Asking for the username/password is no problem so I will...

Can you geotarget a tab on a Facebook Page?

Hi there, I have a client that needs to have an application installed on a Facebook page tab but have the tab only appear to certain markets. I know how this can be done when posting comments on the pages wall but can this be done for the tabs? Thanks in advance! Justin ...

Facebook tags dont render when generated dynamically using Jquery

Hey guys, To give you a simple use case - on my website, I display the comments posted by the facebook users. For each comment I display the facebook users photo using the fb:profile-pic tag and a fb like button. This page renders properly and everything displays well. Now when the users want to read older comments, they click on the "...

What should I know about working with FBML in Facebook?

I've been tasked to develop a fairly simple reservation console for a hotel. It features two <form>s which have corresponding tabs, the active tab applies to the default form and the inactive tab applies to the hidden form. The tabs are clickable and would enable/disable their respective forms. So far what I am planning is having embedd...

Facebook Style Wall / Activity log - General design help

I'm building a face-book style activity stream/wall. Using python/app engine. I have build the activity classes based on the current activity standard being used by face-book, yahoo and the likes. i have a Chanel/api system built that will create the various object messages that live on the wall/activity stream. Where i can use some he...

data is not received in target page.

I m tring to send data using post method from one page to another. but i m not receiving data in target page and getting error of undefined index name_of_variable when i m trying to get that data using $_REQUEST[] method I m using following code: ---- --- ...

test if content is already published on users wall in facebook

Hi, im trying to automatically publish a post on the logged in users wall in facebook in my canvas (iframe) application. the only way to do this, is by using oauth via php i think? i see no way to do this automatically via the new js-sdk. so before i publish this post, i want to check, if i have already posted this content on his/her w...

retrieving facebook likes via fql for 'non-facebook' objects

Hi, basically I am trying to get the total of (facebook) likes for an external object via FQL. I already retrieve the comments for that object via FQL with the xid as identifier. My problem is that I need an object_id to retrieve the likes which I haven't got. Are the obect_ids only for facebook objects (pics, albums, video etc) or is t...