"Barred" isn't exactly the right word, in that it implies that Facebook actively took steps to prevent other candidates from doing so. Instead, Facebook had standard data collection limits in place that were enforced automatically by the platform for all apps. When the Obama For America app hit these limits, Facebook explicitly removed them for that app. It is the only publicly known case where this was allowed for a political campaign.