Wednesday, August 24, 2011

[android-developers] Re: Facebook Share Crash in Android application

The Facebook API is pretty well known for errors, bugs, outages, and
just random weirdness. I currently have an app that uses Facebook for
posting to a users wall and it's not accepting any of the parameters I
send like the default message, caption, etc. One day it works.....one
day it doesn't.

You just have to learn to live with it and wrap all of your Facebook
code in about ten layers of try/catch statements.

Run your app with DDMS open and see which Facebook class/method is
causing the problem, then add all the required error checking that the
Facebook developers left out, that should at least keep your app from
crashing when their API returns garbage.

On Aug 24, 9:16 am, rokson <kiranrepa...@gmail.com> wrote:
> Hi Friends,
>
> I have a problem with Facebook publish in my android application.
>
> I implemented Facebook android SDK in my android application for
> publishing the updates.The application was submitted to android market
> on march 2011 and working fine with all Facebook activities. But from
> few days onward my application is getting crashed when user trying to
> publish a post on wall.
>
> Once the user clicked on the share button in Facebook publish window
> then the user able to see a progress bar for sometime then the crash
> occurring and user leads to get out of the application all of sudden.
>
> My question is why the crash occurring from few days? I did not done
> any changes in my application. Now it was in the market many are using
> it.
>
> The most important part of my application is Facebook posts now that
> is not working.
>
> I need immediate response on this. other wise I am going to loss users
> to my application.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment