fbml essentials Archives - Page 3 of 3 - Stay N Alive

FBML Essentials Has a Cover!

fbml_essentials_comp.pngI received a copy of the cover for FBML Essentials last Friday. I was waiting to figure out what the bird was on the cover before I shared it. The bird is a White Throated Dipper – from Wikipedia:

The White-throated Dipper (Cinclus cinclus) is an aquatic passerine bird found in Europe and the Middle East, also known as the European Dipper or just Dipper. The species is divided into several subspecies on colour differences, especially of the pectoral band.

My Editor tells me that usually they don’t have reasons for the animals they have on the covers of O’Reilly books, and that they usually choose an animal that fits well with the look and feel of the book. I guess one could say that most birds are “Social” – anyone know anything more about the White-throated Dipper? Here’s a video of one in the wild:

[youtube https://www.youtube.com/watch?v=iRTrKrwCiNY&hl=en]

You can pre-order the book here – it should be available in print around June or July, based on the production schedule they sent me. There’s always a chance it could be at Graphing Social Patterns in June. If not, look for it at OSCON in the O’Reilly booth (and who knows – maybe I’ll be there to sign your copy!).

UPDATE: I forgot to mention – Nick O’Neill of AllFacebook.com, and Rodney Rumford of FaceReviews.com did the Foreword and Afterword for the book. Thanks to both of them (Rodney wrote his Afterword on his birthday!) for putting the time in for those! It’s an excellent read and reference for all already into or looking to get into Facebook development!

Me at Web 2.0 Expo

Picture 8.pngI’ll be at Web 2.0 Expo starting tomorrow, April 22 through Friday, April 25. This, in my opinion, is one of the conferences to be at this year, as I really feel we’re getting to a tipping point towards the evolution of Social Networks. Expect to hear a lot about Enterprise 2.0, Future of Mobile, and of course, the future of Social Networks. I’ll do my best to live-blog what I can on the Stay N’ Alive blog, OpensocialNow.com, and FacebookAdvice.com. I’ll be bringing along my wife’s Flip digital video camera so maybe I’ll even get some good video while I’m out there.

I’ll be bringing several signed copies (by both me and Jason) of “I’m on Facebook–Now What???” with me, which, if you’re a blogger and can convince me why I should give you a free copy (I love giveaways to your audience if you have a good audience) come see me. Or, if you already have a copy of the book I’m happy to sign copies while I’m there. I’ll be posting my whereabouts on Twitter so you should be able to find me. Also, look for me at the O’Reilly booth on Wednesday around 3pm. I’ll be also promoting my upcoming book, FBML Essentials and would love to meet you!

If you want to follow where I am, again, there’s Twitter, or feel free to check out my schedule here. Also, add me on Crowdvine!

Google Gets the Discussion Going on "Templates" for OpenSocial

This morning an e-mail went out to the OpenSocial and Gadget Spec Mailing List for OpenSocial developers, mentioning proposed problems and a need for “Templates” in OpenSocial. For those Facebook developers out there, this could be one of the missing links in OpenSocial, replacing the benefits of FBML for Facebook.

Read more about it on OpensocialNow!

Facebook Asks for Developer Input on How to Improve Platform

I’m going to be interviewed by the Facebook development team on Monday. I want to give them the best answers that reflect the Facebook developer community. I’ve heard plenty of input for my “FBML Essentials” book soon to be published by O’Reilly, but now is your time to speak and have your answers heard by Facebook.

If you have suggestions for things you would like to see improved on the Facebook development platform, or just plain things that are nagging you, leave them in the comments and I’ll ask all those I have time for in my chat with them on Monday. In addition, what would you like to see in FBML Essentials? If you were to read a book on FBML, what is it you think is missing on Facebook currently? I’ll also see these get reflected back to the Facebook Development team. Add your suggestions to the comments and maybe we can start a discussion…

Please feel free to forward this on so we can get some quality feedback!

Facebook Getting the Vote Out – but is it Good for Developers?

You’re seeing it here first folks – this morning Facebook announced a new tag on its wiki called . I imagine an announcement from Facebook will come soon on their purposes for this. From the wiki, :

Displays a Rock the Vote widget inline in your application. The text inside the tags is formatted as a hyperlink. When the user clicks the link, a Working Assets US Voter Registration dialog appears. When the user is done, they are prompted to share it with their friends. Then they are returned to your page.

This is particularly suitable for political apps or any app that wants to encourage voter registration.

Now, I’m not that familiar with the whole “Rock the Vote” organization, and I’m very for encouraging voter registration, but isn’t this also giving preferential treatment to other big organizations on Facebook? How did “Credo Mobile” get their sponsorship on this? Does this mean apps and organizations like my company’s client, “Takes All Types” will have their own tags for developers to use too? Has FBML been turned into an advertising tool? As a Facebook Developer myself I’m a little concerned about this one.

To implement the tag, you would do something like this (from the wiki):

Register to vote!

The link looks like this:

 link

And produces a form that looks like this:

rock the vote form, top

The second half of the form looks like this:

rock the vote form, bottom

Facebook Works to Reduce Spam Further With "Feed Forms"

Today, a new way of posting to the News Feed in Facebook appeared on the Facebook Developer’s wiki. Facebook introduced “Feed Forms”. To use a Feed form, you simply create a regular form as you would any other form, but add a special “fbtype” attribute to the form. The only documented value listed thus far is “publish”. Facebook then intercepts the form, reads the url in the action parameter, and prompts the user, asking them if they want to publish the story to their friends.

To use a “feed form”, the url in your action parameter for the form should return content in the form of JSON with a simple feed response. The example they give for return JSON data is this:

{ "method": { "fbtype" : "publish",

           "next": "http://my.canvas.com/next_page.php",

  "feed": {"title_template": "{actor} published status",

  "body_template" : "New status is \"{status}\"",

  "body_data" : {"status": $_POST['status']}}

}

I created a sample form that looks like this, returning the above data (changing the url) in application/x-json format:

Unfortunately it doesn’t seem this feature is live yet (or I’m just doing it wrong), as my returned JSON data just gets returned back to me when the form is submitted. I will post screen shots as soon as I hear confirmation that it has gone live (I expect that to be next Tuesday, when they usually do pushes).

Does this mean Facebook is doing away with the automated posting of News feeds by applications, or is it just one more way, and better way to make your feed story more likely to appear in your user’s friends’ news feeds? There is no official word from Facebook yet as to how they intend to use this.