facebook

set or update profile picture using fbconnect facebook ?

hello .... i have a image and i want to set this image as the users profile image. i came to know that we cannot upload directly to "Profile pictures" so i uploaded it in some other album and now i want to set this image as its profile pic ??? any idea how can i do that using fbconnect ? thanks in advance ...

Facebook Like-button problem

Hi there, I'm using this code to implement the like button <fb:like layout="button_count" show_faces="false" width="450"></fb:like> But when I try to click it the counter is increased for about 1 second and then it goes back to zero again. I can't see on my facebook profile that i've liked something either. Someone have a solution fo...

Facebook canvas application - php Auth issues

Hi, I am in the process of devloping a facebook canvas application in php and FBML, and am having issues when it comes to setting up authorization for the application. I basicly do not kno how to go about it, or what the best method is. I have been searching around on the internet most of the day but either stummble on old API things, ...

Code to Display Stacked Button

have the tweetmeme button on my site (http://SweatingTheBigStuff.com) and I want to add a facebook button BELOW it. Right now the tweetmeme settings show: float: right; margin-left: 10px; What's the best Facebook plugin for this and what settings do I need? I think the Simple Facebook Share Button should be good but I'm not sure the...

Getting the Access Token from a Facebook Open Graph response in Ruby

Hi, I'm trying to implement single sign-on using facebook in my ruby sinatra app. So far, I've been following this tutorial: http://jaywiggins.com/2010/05/facebook-oauth-with-sinatra/ I am able to send a request for a user to connect to my application but I'm having trouble actually "getting" the access token. The user can connect wit...

FBML bug with fb:comments inside a fb:visible-to-connection

Hi, I'm having problems putting a fb:comments tag inside a fb:visible-to-connection tag. It seems the comment box cannot fully load. Here is my code example : <fb:fbml version="1.1"> <fb:visible-to-connection> <fb:comments xid="test" canpost="true" candelete="true" numposts="15" showform="true"></fb:comments> </fb:visible-to-co...

How do I create a *public* Facebook community page using the Open Graph protocol?

I am trying to integrate pages from a site I am building into the Facebook Open Graph. My goal is to create a Facebook "Community Page" for each cause in my application. I have added Open Graph tags to a page so that I can Like it in Facebook, and a community page corresponding to my cause has been added to Facebook. However, I am the on...

Facebook select friends and post UIDs to custom URL

I'm building a facebook connect application, and here's the specific use case I'm trying to solve (using the Facebook Connect Javascript toolkit - http://github.com/facebook/connect-js) There is a link on a page that a user clicks to "invite friends". This click opens up a facebook friend selector widget (something like the multi-frien...

how to create URL extractor like facebook share

i need to extract data from url like title , description ,and any vedios images in the given url like facebook share button like this : http://www.facebook.com/sharer.php?u=http://www.wired.com&amp;t=Test regards ...

Posting to an Open Graph page

Hello all, I've got a open graph page with a like button, activity feed, etc. I want to be able to post programmatically. The open graph docs says it's possible via the old stream.publish api. I've got a meta tag pointing to my facebook application, but the stream publish api doesn't seem to be able to post. This is what i'm posting vi...

Facebook require_login not working

hi guys, I am having some trouble with my little facebook application, I keep getting this friggin error, "Fatal error: Call to undefined method Facebook::require_login()", now the funny bit is that my exact same code is working for other people, but not for me, here is the code. <?php require_once( "facebook-php-sdk/src/facebook.php" )...

How to get a profile picture from fb:friends selector

Im a Newbie to PHP and FBML(Facebook Markup Language).....so now im coding a Facebook app so I need to get profile picture and friend name when I select a name from FB:Friend Selector Select a Friend <fb:friend-selector uid="exclude_ids" name="pal" idname="friend_sel" /> I use exclude_ids to see all friends in my selector so how to get...

End line "\n" in FBJS Dialog

Hi, I'm trying to show a FBJS Dialog with a multiline message. message += "Please enter the name of the Post.\n" message += "Please enter content.\n" message += "Content must have at least 10 characters."; new Dialog().showMessage("Error", message); But that piece of code shows the message in the same line. Does anybody knows how t...

Fb:Comments in FB:Dialog Question

Hello, I am currently experimenting having a FBML comment box within a FBML popup dialogbox. This is done within a FBML Profile Tab application. The code is something like this: <fb:dialog id="video_1" width="800" height="800"> <fb:dialog-title>Video 1</fb:dialog-title> <fb:dialog-content> <div style="overflow:auto;h...

Graph API - Get events by owner/creator

Is there a way with the Facebook Graph API to get a list of all events created by a single profile? Our client creates a bunch of events and we want to pull a list of them all. I said that they would just have to make sure they set themselves to be attending the event, because then I can easily pull the list of events that profileId is a...

PHP How can I store Facebook session for further uses

Hello, I am trying to integrate Facebook to one of my projects. At this time I have successfully integrated Twitter so users can update their status while they are on my website. There is a one-time login to Twitter and then I store oauth_token, oauth_token_secret, user_id and screen_name so when they login to my site (via my own login...

Update facebook status using pyfacebook offline access

Hey, I'm trying to update a user status from a django python app. The user went thru facebook connect and registers to the app. I got sessionkey and fbuid. fb = Facebook(FACEBOOK_API_KEY, FACEBOOK_SECRET_KEY) if fbsessionkey: fb.session_key = fbsessionkey fb.uid = fbuid fb.auth.createToken() fb.au...

FBML: Toggle visbility of Facebook "Like" button

Is there a way to accomplish these 2 simple things: Hide the "Like" button when the user opted to "Like" it. On page load, check if the user "Like"s the page. If TRUE, hide the "Like" button. If FALSE, show it. Thanks in advanced. ...

Facebook API: like a photo

In the Facebook API (REST), how do you like a photo? There's a stream.addLike function, but you need the post_id, and I don't see a way to get the post_id of a photo (not the same as the pid or the object_id). ...

Facebook Connect for iPhone persistant login

Hi, I have implemented Facebook Connect in my iPhone project and it is working great. The only problem I have is that every time the user closes the app, the next time they load it they have to re-enter their username and password to login even if the 'keep me logged in' box is checked. My question is is there a way to save the user's ...