I ran into one problem when posting a message through facebook app using sdk in android. When I try to publish something, it gives me a toast message like "(# 100) invalid fbid". and the log is printed as: Error: com.facebook.FacebookException: error message when publishing.
Please note: I added the publication permission, My FB application is visible to all users, and most importantly, I made a demonstration using the same application identifier, the package name and everything, and it works there, but when I merge this code in the application. It always ends with a mistake.
So what could be the reason? Since the same code, the same fb app id works fine in a separate application, but does not work when merged in an application. Please suggest what should I do?
Thanks in advance.
source
share