Facebook:Is it possible to post on wall using multi-friend-selector? Or can I use JQUERY with php-sdk(fbml, not iframe)

StackOverflow https://stackoverflow.com/questions/3801410

문제

I am new to facebook development. I am using PHP-FBML with Graph API.

Edited: Or can I use JQUERY with php-sdk(fbml, not iframe). If yes then how?

Please someone help me out.

도움이 되었습니까?

해결책

No, because it's against the policy

Section IV.5

You must not provide users with the option to publish the same Stream story to more than one friend's wall at a time.

다른 팁

<fb:multi-friend-selector> can be used only to send invites inside a request form.

You can use <fb:fb:multi-friend-input> though, which is also friend selector but slightly different. If you put it inside your own <form> it should pass selected friend ids with form submission. You can read about this process here in details.

Once form is submitted you need to process it on PHP side. Loop through array of selected friends and send posts to their wall using PHP SDK (you can read here how to do it through Graph API).

jQuery doesn't work inside FBML, but you won't need it for this anyway.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top