Facebook Platform lets developers integrate their apps directly into the Facebook social networking service. Use this tag for questions which may arise when developing FOR Facebook. This tag is NOT for support questions about using the Facebook website or the official Facebook app.

learn more… | top users | synonyms

2
votes
0answers
38 views

Facebook crawler redirect to force displaying own opengraph meta-tags

For my website, I use the opengraph to send the right data to the crawler. On the top of all pages on my website, I include the opengraph-script, like this: ...
2
votes
0answers
59 views

PHP code to connect to Facebook API

I was given a tech test for a prospective job a small game that uses Facebook API to connect a user then to guess the image. The feedback from the employer was good but they said they had to modify ...
4
votes
0answers
91 views

Finding Facebook Friends on app, and not on app

This code gets all of a user's Facebook friends who use our app and returns a dictionary with keys that are their id's in our database and values that are a default connection level. The code should ...
2
votes
1answer
361 views

Getting Facebook app requests

I have a JSON response from the Facebook API, which contains the app requests of certain Facebook apps via FB.API('/me/apprequests') (using Graph API 2.0, Facebook ...
2
votes
1answer
47 views

Efficiently consolidating an array of objects

In my program, I'm getting Facebook objects and using temp to display on a separate screen how many unread messages they have. However, we have since decided to ...
2
votes
1answer
188 views

Is this the right way to handle Exceptions in PHP?

I'm using the function countLikes() to fetch URLs' Likes count from the Facebook API. ...
6
votes
1answer
919 views

Getting all likes from a specific user on a news wall with fewer graph API calls

Right now, my solution counting likes of a specific user is Starting a recursive call on the "/{user-id}/posts" edge Iterate through all posts On each post iterate through each like on the likes ...
4
votes
0answers
825 views

Using RequireJS correctly for social plugins

I'm a beginner in JavaScript and lately I've been trying things with RequireJS, I'd like to get some feedback on how good/poor my code is and in what ways it can be improved. My example below is just ...
1
vote
1answer
92 views

Follow up: Python class for Facebook

This is a follow-up post I have taken some of the suggestions there and have made some changes from my side too. I think it looks better, but please look at it and lemme know if you think any more ...
1
vote
2answers
807 views

Classes for Facebook graph API and Twitter access

Given below is code which I wrote to provide an easy access to Facebook graph API. ...
3
votes
2answers
60 views

Search/match algorithm between 2 vectors [closed]

I have 2 vectors of Facebook-like pages which are represented by an ID from 2 different users. I want to verify the number of liked pages that are similar between these 2 users. This is my algorithm ...
1
vote
1answer
1k views

Facebook OAuth in WPF

I am developing a WPF application that requires me to get an Access Token from Facebook using oAuth. After much searching online, I came to the following conclusions: OAuth must be done in a browser ...
2
votes
1answer
131 views

Counting Facebook and Twitter Reactions

I wrote / modified two scripts to count Facebook and Twitter reactions. Anything I can do to improve these? Count Facebook Reactions ...
2
votes
2answers
3k views

Getting Facebook comments count via FQL

I'm currently getting the Facebook comments count over a query request to the Facbeook api. The problem is, there are about 15 queries on each site which makes it real slow to load (up to 6 seconds) ...
3
votes
1answer
198 views

Is there any way to shorten up this Facebook API call?

Right now I am working on an AJAX call that grabs a random photo that a Facebook user is tagged in and then grabs the large source for it. Is there any way to speed this up or at least distill the ...
1
vote
1answer
127 views

Displaying a user's social media information

This is for a page where it displays some social media information for that user. I would like to improve the following code that I posted below. It does the job perfectly, but I just feel like it ...