Talk:Admin.setRestrictionInfo

From Facebook Developer Wiki

Jump to: navigation, search

Assuming type gets expanded some day, is it going to be a comma-delimited list?

type="alchohol,future_tech_1,future_tech_2"

--1573391613 14:09, 22 April 2009 (PDT)

[edit] Frequency

How often is this call needed? I would assume that one call to set it would be sufficient for all users for the life of the application (or until it is specifically changed by another call). Right now I have it in the application calling on every page, but I think this is overkill. Of course if it was a "one-time-will-do-ya" type of thing I would expect to set it in the Application Settings tab and not in the app itself.

Good question. You call this API as needed, so if your restrictions don't change, then there's no need to continue calling it (I'll clarify this in the docs). Good suggestion about adding this to the application settings editor; please file a feature request and hopefully someone will hook this up. Thanks, Pete -- 563683308 17:02, 26 October 2009 (PDT)
reference