This has plagued me from the start. After messing around a times at it, I figured out how to get things moved around.

Problem:  If using the multi-friend-selector in an iframe, the dialog that pops up, will sometimes be cut off on the right.

the example code they provide is something like:

<fb:serverFbml style="width: 755px;">
 <script type="text/fbml">
 <fb:fbml>
 <fb:request-form....

Solution: To squeeze the popup, so that its over the selector itself do

<fb:serverFbml width="600px">
<script type="text/fbml">
<fb:fbml>
<fb:request-form....

Voila!

We recently started to look into working with the Trial Pay system
TrialPay Referral Program

There is a movement away from the the typical offerwalls into networks that provide “quality” offers. Trial Pay specializes in Shopping and some survey offers. There isn’t any app install, or toolbar download offers.

What really opened our eyes to this provider is that Facebook exclusively ( so far ) uses them for their Facebook Credits system. We are in the early stages of testing. more to come.

So after the f8 2010, Facebook opened up it’s new Apis. I started to tinker with the new Facebook Social Graph API.

Every object in the social graph has a unique ID. You can fetch the data associated with an object by fetching https://graph.facebook.com/ID.

Facebook also updated their policies to allow caching of their data to reduce API hits to their system. Kind of makes sense as people were probably storing data anyways, and reduces their server loads. A new service they now offer are Real-time Graph subscriptions. This service allows you to subscribe to graph objects and in near real-time ( approx 1 min or less ) your calllbacks get pinged when data changes in their graph. It’s pretty cool and I have setup a basic prototype for testing.

To make this work I had to do a few things.

  1. I turned on error_log in my php.ini, so I had a place to capture the callback and follow the real-time updates
  2. I also had to install the pecl_http extension.
  3. pecl install pecl_http
  4. on Ubuntu I needed to do sudo apt-get install libcurl4-openssl-dev first
  5. add extension=http.so to /etc/php5/apache2/php.ini
  6. restart apache
  7. checked phpinfo()

My basic proto is working :), next I will be integrating for use in our game

Everytime we launch a new application in a social network, after a few weeks it’s important to know if we have upward growth.

The only thing I can think that demonstrates this is more installs per day. In our databases we capture full timestamps of the new installed user.

To turn this into something I can look at and understand, I have to run this query.

SELECT date_format( date_added, ‘%Y-%m-%d’ ) , count( * )
FROM fb_user
GROUP BY date_format( date_added, ‘%Y-%m-%d’ )
ORDER BY date_format( date_added, ‘%Y-%m-%d’ ) ASC

I am going to try to make a graph to view this in flex… first time Flex graphing 🙂 I’ll post an update when it works..

Flex Facebook app in beta

December 22, 2008

We have finally released our first social gaming Flex application on Facebook.  The application is called Presidents & Assholes, it based on the popular card game Asshole. The application is real-time, and requires 4 live players to activate a game table. We have added a betting component, so users have a sense of reward.

Presidents and Assholes The application has a Spectator mode that will allow users to “preview” the game without forcing them to install. This same preview is available to the global internet without logging into Facebook. You can preview the game by clicking http://apps.facebook.com/play_president/.

The game has an easy to use chat window that will broadcast your message to the room. Users can enter and leave any number of game table rooms, and optionally sit down if they have installed the Facebook app.

The Social web of trust

November 29, 2008

Today I found a “friend” connected to me in Facebook amongst the 220 people.

In my account, there is only about 5 people I’ve never met, and “met” through Facebook.

I was looking through this guys profile and he’s got about 300 friends, and about 15 in the last month of so.

Most of his friends look like commercials.

I was thinking, is this a robot account ?

It could be, couldn’t it ?

All my personal details are being splashed into this account’s feed, all the data could be getting dumped and sifted.

Am I being paranoid ?