Questions tagged [facebook]

Facebook is a popular social networking website.

Facebook is a popular social networking website. It has a platform that can be used by 3rd-party developers to build applications that users can access while logged in to Facebook.

34 questions
44
votes
6 answers

Why does Facebook convert PHP code to C++?

I read that Facebook started out in PHP, and then to gain speed, they now compile PHP as C++ code. If that's the case why don't they: Just program in c++? Surely there must be SOME errors/bugs when hitting a magic compiler button that ports PHP to…
user72245
  • 557
  • 1
  • 4
  • 3
18
votes
12 answers

What are the pros (and cons) of using “Sign in with Twitter/Facebook” for a new website?

Myself and a friend are looking to launch a little forum site. I’m considering using the “Sign in with Facebook/Twitter” APIs, possibly exclusively (a la e.g. Lanyrd), for user login. I haven’t used either of these before, nor run a site with user…
Paul D. Waite
  • 1,164
  • 14
  • 18
12
votes
3 answers

Understanding Flux pattern

I'm actually studying the flux pattern and there's something that I can't understand concerning the stores. What are they exactly? I have read many articles, and it seems that it concerns the domain. Does it mean that this is the "abstract" part…
mfrachet
  • 1,481
  • 3
  • 15
  • 21
11
votes
2 answers

How Facebook's Ad Bid System Works

When you are creating an ad on Facebook, you are provided with a "suggested bid" range (e.g., $0.90 - $2.15 USD). According to this page: The suggested bid range is there to help you pick a maximum bid so your ad will be successful. It’s based on…
herpylderp
  • 2,017
  • 3
  • 21
  • 27
10
votes
3 answers

Good way to handle the notification counter like Facebook does

I want to build a similar notification mechanism that Facebook handles. I actually store the user's notification in an SQL table (actually it's a graph database but everybody master RDBMS terms). I'm interested in the case where the user clicks on…
Mik378
  • 3,838
  • 7
  • 33
  • 60
9
votes
1 answer

Facebook authentication with an Authoritative Server for a Flash Game

I'm working on a multiplatform game in Flash. This game utilizes Photon Server for authoritative physics and user statistics tracking. I'm looking to leverage Facebook authentication as an alternative to creating a domain specific account. I'm…
Kody Manharth
  • 264
  • 2
  • 12
8
votes
3 answers

How can a website get the phone number of the device used to call it?

I'm not registered with Facebook and I've never logged in to Facebook inside the browser I use, Today I enter the site facebook.com and see my actual phone number on the sign in page with this message: Facebook requests and receives your phone…
Kody
  • 115
  • 1
  • 3
7
votes
1 answer

Is it possible to build a single game to run in Facebook & Google+?

I was asked by my customer to build a Facebook game. The game would be something similar to Mafiawars.com where the game is hosted on a server and run through a frame on Facebook. The thing is after several days of negotiations with the customer and…
Songo
  • 6,548
  • 4
  • 48
  • 89
7
votes
1 answer

Facebook App EULA & Restrictions: What can't they do that my web app can?

I have written a nifty little web app (in Java/GWT/JS) and have been experimenting with the idea of making it available through Facebook as a Facebook App as well. After spending some time reading Facebook's developer docs, it seems like I can just…
herpylderp
  • 2,017
  • 3
  • 21
  • 27
6
votes
2 answers

Using Facebook to authenticate, how to link to user record in my app? Email?

I'm using Facebook to authenticate users. We also have conventional username/ password login and registration form too. Anyway, when a user chooses to login with Facebook, we use the following procedure: Redirect to Facebook, user is authenticated,…
Martyn
  • 795
  • 8
  • 21
6
votes
1 answer

How ad retargeting works?

Recently, I read that Facebook ads are moving towards retargeting and got interested deeper into subject. Essentially, retargeting is technique advertisers use that tracks purchase intent by putting cookies into your browser and when you visit…
Bojan Babic
  • 161
  • 3
4
votes
1 answer

Can someone explain the behind-the-scenes process of connecting an app account to a Facebook account?

I am developing an app that will use the Twitter and Facebook login APIs exclusively. Suppose a new user downloads the apps and is presented with the option to log in through Facebook or Twitter. The user chooses Facebook. I think the procedure at…
zgall1
  • 343
  • 1
  • 3
  • 7
3
votes
3 answers

What's the best approach to Facebook integration?

I have a new site/app going live next week (or somewhere close). I know there will be a relatively small (15,000?) very dedicated group of people on Facebook who will be very likely to be interested in the site, so I know I need Facebook…
Jay Stevens
  • 320
  • 2
  • 13
3
votes
2 answers

What is the right approach to save user agent info during login to web / app?

As you know Facebook saves login sessions and we can see them in settings where we've logged in. Now, they show IP address, Phone name (if logged in with phone) and App name in the phone and Browser name in case we use browser. I want to store these…
Vikas
  • 163
  • 1
  • 5
3
votes
0 answers

Database structure for combaning local login with social login

I'm implementing a platform where users can create an account with my system and use it to login. Also I allow them to add any external login (social login) such as Facebook, Google, Twitter and so on. The mechanics is similar to what Stack Overflow…
1
2 3