Naturally, Facebook has a limit for the number of post per day your app can make to a user wall. And FB have policy for user to report spammy apps as well.
The exact maximum number of posts depends on your application FB ranking. In my experience, 26 posts on a user wall is near the limit for new application.
If that is the case, you should receive the error message from Facebook, which says something like “you have reached limit of posts…”
P/s: It seems you need time to refactoring your question, though. If I have not met this situation before, I won’t understand your question.
solved Facebook status update code fails to update wall