views:

268

answers:

2

I suppose the answer is pretty simple, but i cant find conclusive answer either way.

Is it possible to use facebook to log in a user, fetch their friends, allow them to select them and then post to their profiles in turn, even if that means firing up a custom modal with html to select from the list of users friends before passing the IDs on to the publishStream function in a loop.

Any response would be dandy. Thanks guys and gals.

A: 

How is your website?

Is it Facebook app?

Not facebook app but uses does it use Facebook connect?

Sarfraz
sarfraz, yes an FB connect app. I have built a multi-friend selector in a modal and can select their id etc, and it acts as an overlay above flash, nwo I just need to figure out how to publish to multiple streams, cleanly and easily :) Will post to my blog when i get everything sorted out for sure. Seems like peeps are crying out for this kind of info.
Vincent Roman
A: 

If you post to the logged-in user's stream, you have no control over which friends see it in their own streams.

Alternatively, you can send facebook notifications to friends that were selected, subject to the daily notification limit imposed on your app by facebook. Be aware that facebook is phasing out noficiations.

klochner
Klochner -Thanks ... well it looks like FB phased out everything last night and switched to what I was using before publishStream, the problem is that you can only post to a single user/actor at a time, and I dont think a batch sequencer object can be passed, and looping through 'actors' and generating a popup kinda sucks. The best alternative is the sharer.php link but that doesn't provide the benefit of attachments etc.Still trying to find a clean solution, but will definiitely post code and how to when done.
Vincent Roman

related questions