Archive for October, 2009
Be cautious when buying apps…
Oct 30th
Further to our post about the new feed system for Facebook, it should be fairly apparent that most of the apps for sale still use the old template system which will cease working in less than two months time.
What is more worrying is that when we test emailed some app writers many of them don’t believe they have to change anything and others don’t offer any support for their apps or don’t include support that would include code changes for the feeds.
We would strongly advise that you don’t buy any app that has not already been changed to use the new steam publishing method. If in doubt ask to see the installation instructions for their app and if it involves registering feed templates then pass on it unless you have scripting experience yourself and are happy to make the code changes if the original author isn’t.
There is no reason for anyone to be selling applications that have not already been changed. The code changes are straightforward and can be implemented very quickly.
The new Facebook streams explained and simplified (using php).
Oct 28th
As we reported a few days ago the way that Facebook feed stories work is changing to a new system. The new system can be used right away, but the old system will be depreciated (in other words it will stop working) on 20th December 2009.
If you have looked into the new system of feed stories on Facebook it may have left you a little bemused. The example code they give is a little confusing and doesn’t quite work ‘as-is’.
After much experimenting, hitting my head against the proverbial wall and wading through page loads of posts on the developer forum from people who clearly were having similar problems, I came up with some code that works.
Let us look at this example first which requests extended permissions and then posts a feed to a users wall. Extended permissions is the new feature where your application has to ask the user to grant permission to access or post to their wall, send them email, have offline access, send them email, etc.
The good news is that buried deep in the explanations on the Facebook developer site it turns out that there is still a way to simply pop up a request to post a feed to the users wall without the extended permissions but it is not accessible directly from the php library. However I will show you that code in a moment.
If you haven’t already you will need to download the latest facebook php libraries. As always these are downloadable from
http://svn.facebook.com/svnroot/platform/clients/packages/facebook-platform.tar.gz
Here is my modified version of the code which I have turned into a demo that asks you for extended permissions and then posts a sample feed to your wall. You will notice that I only ask for ‘publish stream’ permission since it is all my application needs. I would strongly recommend that you only ask for what is necessary as users are already going to be a little wary of granting permissions so the fewer you ask for the more likely the user is going to accept.
Here is the code: (there is a downloadable zip file with all the code samples at the end of this article).
Not all web hosts are equal when it comes to social applications.
Oct 28th
When it comes to finding a suitable web host to run social network applications it is well worth carefully reading the terms of service for your chosen host before signing up.
I run a number of Facebook applications including a games that fall into the mafia/adventure game category. These are commonly called RPG’s (role playing games) or MMORPG’s (Massive Multiplayer Online Role Playing Games). But if I was to host with some of the popular or well known web hosts I could find myself in breach of their terms.
For example if we look at the terms of service for popular choice ‘HostGator’…
Terms of service from Hostgator.
Now the chances are while your application is new and not getting that much traffic you would probably get away with running an rpg game app, but imagine how inconvienient it will be and how much ad revenue you could lose if your host suddenly pulled the plug.
So when you are shopping around for a good web host be sure to read their terms of service VERY CAREFULLY and ensure that there is not going to be a problem running the kind of apps and sites you need to run.
For those who are interested, the host I now use (after a lot of research and trialing a lot of hosts who turned out to not be any good) is Valcato Hosting. They consistantly score highly on the independant review sites and their support is top notch. They also give unlimited databases and have full cron job support. They have a package that costs just £3 a month and is ideal for anyone starting out with social applications and it can be upgraded easily if you end up with a run away success application that needs hordes of bandwidth.
Facebook Simplify Streams but depreciate existing system in under 60 days.
Oct 23rd
Facebook announced today that they are changing the way that feeds work. The full facebook announcement can be read in their developer blog at Facebook Development Blog.
Here are the key points in English along with a few questions that the documentation doesn’t do a great job of explaining.
First of all there are now two views a user can have, one is a news feed which is basically posts that a facebook algorithm determines are the most interesting. Things like how many comments, how unique it is and how many people ‘like’ the post will play some part. In their words…
* News Feed will focus on popular content, determined by an algorithm based on interest in that story, including the number of times an item is liked or commented on.
* Live Feed will display all recent stories from a large number of a user’s friends.
OK, so far so good, except you can expect to lose some viral traffic where users only view the news feed and facebook has not flagged your feeds as worthy enough to make it. However according to facebook if these are engaging and interesting then you have nothing to worry about. Of course how interesting anyone can claim ‘Joe Bloggs has made it to level 5 in the big magic spoon game’ is purely subjective.
The biggest concern is that they are depreciating the template feed system by December 20th 2009.
Hundreds of thousands of applications out there all need to be changed in the next two months! And considering the documentation is hard to follow at best they are not making it easy for the little guys. But do not fear! We can break it down into English for you. Read the rest of this entry »
