facebook

Why do I get a connection timeout for facebook api-video?

Hi This is the API call Im attempting: http://developers.facebook.com/docs/reference/rest/video.upload (Video upload is not available in the new Graph API.) I have tried many variations on the parameters. The code below is my best guess. If I modify the params to be obviously incorrect, change to http (not https) or try to use api.fa...

Showing a popup before posting in facebook wall

i want to make my app publish on my wall, i can post without any problems, but i dont know how to popup here is my code $attachment = array( 'message' => 'Did a Test Post :', 'name' => "This is the title of my post", 'link' => "http://www.lydiadana.com.br", 'description' => htmle...

How to post message to wall (Android + FBConnect)

Hi. I need to post message to a wall using FBConnect library for Android. How to do this? ...

PHP : Problem with Arrays

Hi, I'm a php newbie, and I'm creating a Facebook application for my flash game. In the main page of the application, I want to print the current user friends sorted by score. I get first user friends using my application with this API function: <?php $friends = $facebook->api_client->friends_getAppUsers();?> $friends is an Array wit...

Facebook Open Graph Feed Not Returning All My Wall Posts From Me

When I use the open graph API to get my own facebook news feed (my wall), everything looks right for the most recent 3 months, but prior to that, I no longer see my own posts (but still see posts of other users on my wall). I'm using a version of this link (with a working access token): https://graph.facebook.com/me/feed??access_toke...

possible to check when a user joined facebook using the graph api?

i would like to know whether it is possible to find out when a user joined facebook. or how long they have been a member. Is this possible using the facebook graph API? ...

Adding facebook invite on my website

i have a website www.skoola.com , i want to add facebook invite (to enable site visitors invite their friends). I have read a good no of docs aon facebook and other sites on ow to do it, but i cant get it right. Please anybody that has done should kindly explain the steps and code samples necessary to get it fixed (i hv tried pasting t...

FBML: simple way to display a list of people in a popup?

When you go on your profile page and click on "See all" in the "Friends" sidebar, you come up with a simple popup showing a (paginated) list of your friends (with their profile picture and name) and a search button. I've got a list of users' ids and I'd like to display them in the same exact way: with a popup, the list and the fancy sea...

how to share a mp3 inline in facebook

Hello, I am trying to share a mp3 and allow people to send it via facebook using facebook share. I am linking directly to a MP3 for the URL in my setup. The issue is my nginx server is returning the mp3 only. So Facebook says here... The ideal way for you to connect video and media files to the share link is to make the URL in the li...

how to refresh an oauth token when using the Facebook iPhone SDK

I'm using the Facebook SDK for iOS in my app: http://github.com/facebook/facebook-ios-sdk The oAuth token expires after about 2 hours. How can I "refresh" the oAuth token without having to call the [Facebook authorize...] method again - which shows an empty Facebook dialog briefly if the user had previously logged in? What I want ...

Facebook login "given URL not allowed by application configuration"

I've added facebook login to my site. However, when I click the button, I get a red box that says: Invalid Argument Given URL is not allowed by the Application configuration. If I continue to login then I get: API Error Code: 100 API Error Description: Invalid parameter Error Message: next is not owned by the application. Not sur...

Facebook Graph API, how to get users email?

I'm using the Graph API, but I can't figure out how to get a logged-in users email address. The intro to Graph states "The Graph API can provide access to all of the basic account registration data you would typically request in a sign-up form for your site, including name, email address, profile picture, and birthday" All well and goo...

Posting to Facebook through Graph API - HTML Blog Entry with Inline Images

Let's say there is a blog entry, which you have the HTML for, it looks like this: <h1>Hi</h1> <img src="http://thesource.com/someImage.gif"/&gt; <p>And just a little more text, with a &nbsp;</p> If you use the graph API to send this to Facebook, the message will look exactly as it appears above. I'm using HTMLCleaner in order to clea...

Effect of 'myObj = [[[[MyClass alloc] init] autorelease] retain];' ?

I've just downloaded the Facebook iOS SDK and I noticed that in the sample code that comes with the SDK whenever it creates an instance of the Facebook class it does it like this: _facebook = [[[[Facebook alloc] init] autorelease] retain]; where _facebook is a member variable of the calling object (i.e. not a local variable). Can any...

Linking a facebook app's page to an existing facebook business page

I have a facebook app page, and a separate facebook business profile page. The business page was created, but not by me, some time before the app and its page were created. Is there any way to connect the two pages, or import the content and friends from one to the other? The older profile page has some content; a set of friends an...

fb:visible-to-connection Not Working!

Hi guys. I don't usually deal in exclamation points, but I have hours before this goes live. I have the following page full of FBML for a Facebook tab on a product page: <fb:fbml version="1.1"> <div id="container" style="width: 520px;"> <fb:visible-to-connection> <div> Yay! <a href...

How to Prevent My CSS From Clashing With Facebook's CSS?

Hi Guys, I have the following HTML on my page: <div id="mypanel"> <span>SomeText</span> <span>SomeText2</span> <span>SomeText3</span> <span>SomeText4</span> <fb:login-button ..snip.. /> </div> You can see there i have some Facebook Markup Language (FBML) for the Login button. Which get's rendered as: <span id="RES_ID...

Access Facebook UserId in Facebook Canvas before OAuth Authentification

In my facebook canvas applikation, i store the access token in session. (I use ASP.NET MVC) But i want to store the access token in a database along with the facebook user id that i can save different access tokens for different facebook users accessing my application. So when i query the facebook user id and if it doen't return any ac...

jQuery Ajax facebook like system

Hi, I am trying to create a Facebook i like don't like functionality using jQuery. I am having the following problem. When the ajax call fires up, it brings up the loading animation. When it ends the animation stays there. The only way that it disappears is when I use the same div for loading and for the result. Have a look. The code...

Only display one paragraph of text

You can set what the Facebook Share preview says. I would like it to be the first paragraph of my movable type entry. The people who make entries sometimes use <p> tags or they use the rich editor which puts in two <br /><br /> tags to separate paragraphs. Is there a way I can have movable type detect when the first paragraph e...