EDIT:
Sorry, I haven't been here in a while and didn't realize they have an app store app forum...
So if any mod reads this could you please move it? Thanks!
----
Hey everyone,
Just thought I would share this here. My facebook for iPhone app would always crash and act strange, and it would take forever to sync. After digging around abit in SSH, I found that the facebook app stores a cache of every image you look at, and never clears it... So I have over 40mb of "cache" just sitting in the app folder. What I did fixed my facebook app so if anyone else is having problems I would try this:
Start an SCP session and navigate to your facebook's app folder.
(I'm not sure if this differs from iPhone/iPod to iPhone/iPod but mine was here: /private/var/mobile/Applications/4D4487B0-3BF6-4772-ACCC-BBEC1941FA32/. It for sure will be in /private/var/mobile/Applications/)
Navigate to the "documents" directory, and delete the *.db file in that directory. Then delete all the files in the "cache" and "imgcache" directories. You're done! Facebook should work now.
For lazy/command line savvy people:
Start an SSH session.
If the first command doesn't work you need to find your facebook app's folder yourself.
Code:
cd /private/var/mobile/Applications/4D4487B0-3BF6-4772-ACCC-BBEC1941FA32/Documents
rm ./*.db
rm ./cache/*
rm ./imgcache/*
If this doesn't work for anyone sorry, it seems to work great for me!