开发者

Facebook "Invite Friends Page"

开发者 https://www.devze.com 2023-02-07 10:54 出处:网络
Is there anyone knows the step by step how to make a Facebook \"Invite Friends Page\"... In th开发者_如何转开发e official page i can\'t find any clear explanation about this... And also they said that

Is there anyone knows the step by step how to make a Facebook "Invite Friends Page"... In th开发者_如何转开发e official page i can't find any clear explanation about this... And also they said that fbml will be deprecated after 2010... So, how will the Facebook "Invite Friends Page" run after 2010?...


If you mean invite friends from a website outside of FB you do it with JS:

From the facebook developers website

Something like this should work:

FB.init({
        appId  : 'YOUR_APP_ID',
        frictionlessRequests: true,
      });

function sendRequestViaMultiFriendSelector() {
      FB.ui({method: 'apprequests',
        message: 'My Great Request', 
      }, requestCallback);
    }


ok then use this

<fb:serverFbml width="760px">
  <script type="text/fbml">
    <fb:fbml>
      <fb:request-form
            action='http://apps.facebook.com/yoursite/'
            method='POST'
            type='photo fun'
            content="Let's fun with facebook
        <fb:req-choice url='http://www.yoursite.com' label='Register'/>"
        <fb:multi-friend-selector actiontext="Select your friends."></fb:multi-friend-selector>
     </fb:request-form>
   </fb:fbml>
  </script>
</fb:serverFbml>

Although this is in fbml but facebook is providing still support. As for as i know facebook has not provided any kind of replacement still. So enjoy it to use

0

精彩评论

暂无评论...
验证码 换一张
取 消