Talk:Profile.setInfoOptions

From Facebook Developer Wiki

Jump to: navigation, search

Does setInfoOptions set the typeahead for the entire app, or for that one user?

How does one delete a previously set option????!!

i want to know the same thing.

No idea if it works, but try calling setInfo with an empty array... --1573391613

[edit] Type-ahead is most useful for LARGE datasets.

This is pretty whack... I've got a half-million options available for the user to pick from, growing daily. Surely I'm not supposed to cram them all into setInfo every time I call it, or ever for that matter... Give me a JSON callback option, please. --1573391613 12:11, 7 April 2009 (PDT)

Good idea. Please file a feature request in Bugzilla -- select "enhancement" for the severity. Thanks, Pete (563683308 11:13, 8 April 2009 (PDT))
I have done so. [1]

[edit] no setInfoOptions still gives user "Edit Information"

If an app hasn't called setInfoOptions, why in the world would Facebook UI provide an "Edit Information" link which lets the user try to type input for a search of an empty set?...

-)

--1573391613

[edit] App Interaction versus Edit Information

As I work through this, perhaps I'm just being stupid, but...

User plays with app, builds up some info, app does setInfo, and provides setInfoOptions

Now the user plays with the app some more, and app updates setInfo and setInfoOptions

But as soon as the user does "Edit Information" and then interacts with the App, the App has an out-of-sync issue with the Info section...

How are we supposed to resolve the differences between what the user added by hand versus what they actually DID in the App?

Are we supposed to just never update their Info section again, or do we over-write what they want to claim they did with what they actually did?

Sure, we can call getInfo. But how is one to resolve that with what the user is doing now?

For anything other than the most trivial app, what the user has added in to the Info versus what they actually DID is not something resolvable without a full-blown AI to decide what the user "probably" wants to show up in their Info section...

Maybe if Facebook notified the app of changes to the Info section in real-time, so we are only trying to resolve ONE little change at a time, rather than potentially wildly different content...

--1573391613

Hi RIchard, are you specifying an Information Update Callback URL in your app settings (on the User Profiles tab)? That should ping you each time the user saves a change. Are you finding that to not be the case? Thanks, Pete (563683308 11:57, 10 April 2009 (PDT))
reference