September 2008 - Posts

Last Saturday I presented a conference about
facebook apps development at
Fasta University.
It was a great time, and there are new oportunities to make the presentation in other
companies and universities soon. There is a posibility to make a
webcast too, so I'll keep you informed about updates.
Here you can see some pictures about the facebook development conference at Fasta:
http://www.new.facebook.com/photo.php?pid=764159&l=56bf2&id=587412625
Thanks to Ignacio Repetto and
Red Estudio for the photos!!!
And here you can download the presentation here (it's spanish mostly, english presentation coming soon):
http://www.paterlinimatias.com/presentations/fasta-2008.pptx
Thanks to all the devs that came to the conference, it was nice to share that time with you.
Cheers!!!
Matias Paterlini
I wanted to share with you that I've been invited to make a presentation about
"Facebook apps development and monetization" in the
Fasta University Workshop.
The conference will be about Facebook Movement, what is it and how to be part of it, facebook api, libraries, applications infrastructure, monetization, gifts, ads and some other topics.
So if you're close to Mar del plata, it will be on Friday 09/26 at 21:00 hs.
Cheers!
Matias Paterlini
We just completed our first significant update of
Poke the Pope. Now we have a
leaderboard and we think a
unique Friends of Friends category.
OfferPal can really drive you on the way to a Pope's bankroll. We will watch how that works. Next up are some shocking new topics of questions. Then some great papal gifts. Nowhere else will you be able to match that.
To stay ahead of our question research, shop
Amazon for the incredible books we are using. And whenever you shop Amazon start from Poke the Pope-- Thanks.
You can add
Poke the Pope here
Matias Paterlini
One of the most important things that a facebook developer has to be concern about is facing a good viral grow implementation. Without this your possibilities of reaching a high volume of users accessing the app are very poor, including using ads to promote your app.
There are some precious tools that must be understood and be used properly by developers in order to maintain their apps growing every day. One of those tools are user requests (fb:request).
According to the post "Feedback-based allocations for requests and invites" published on Facebook Developer News page, "Applications
will no longer have a static upper limit of 20 requests, but instead
requests will be allocated based on how users have responded to past
actions. The number of requests per application will be based on the
rate that users accept and ignore requests...{}".
People receives from 3 to more than 10 or 15 request a day, and if you pay attention, most of the apps only show 2 buttons, "Confirm" and "Ignore" buttons. Most of us like to keep our accounts clean, so if we don't want to play we have no choice than ignoring...
So, let me share with you my workaround to get the less Ignored request possible on your app based on Sudha Jamthe suggestions and a simple trick that came to my mind after some research.
The idea is very simple and based on two tips:
- Any request button (fb:req-choice) pressed on a facebook request
that is not "Ignore" button are considered as acceptance buttons.
- You can only set the URL and the name of the button.
So we created this 3 buttons :
- Play now! - That's acceptance button, that we link to our canvas page file to make the action requested.
- Not right now - This is added to avoid users pressing Ignore. HERE is the trick. We set the url like this:
-
<fb:req-choice url='reqs.php' label='Not right now' />
This way facebook doesn't take in count the pressed button as an
ignore button, and the request disappear, just like Ignore button
action does.
- Block sending requests - This one is linked to our canvas
page to set in our database that this user doesn't want to receive
requests anymore, (at least for now), later we can ask him if he still
doesn't want to receive requests...
By using this logic, we increased in less than three weeks from 16 up to 30 available request per day.
I hope that helps a little, and we can keep discussing new ways to improve and make our apps more viral!.
Thanks!!
Matias Paterlini
I was getting this error:
exception: org.hibernate.exception.SQLGrammarException: could not execute native bulk manipulation query
After looking in more than 25 google results I couldn't find any clue about what could be happening. But somehow I got illuminated and found what was happening. That's why I'm writing this post.
This was my code before I saw the problem:
-
String del
= "DELETE VotableNode vn WHERE vn.votingSetBucketId = " + Integer.
toString(bucketId
);
-
session.createSQLQuery(del).executeUpdate();
Let Me tell you something about this error. I'm not a hibernate
crack, but as you can see it's saying that you can't create a bulk
delete on a sql query by using hibernate.
The error in this code is that I was executing a HQL script using createSQLQuery method which is completely wrong, I should use createQuery.
-
String del
= "DELETE VotableNode vn WHERE vn.votingSetBucketId = " + Integer.
toString(bucketId
);
-
session.createQuery(del).executeUpdate();
So there's nothing much to say, If you want to make a bulk task
like an update of multiple records or a deletion of multiple rows using
a simple query, you MUST use a HQL query.
Hope that helps a little!
Matias Paterlini
More Posts