English 中文(简体)
D. 复制Pitbook邀请功能
原标题:Duplicate Pinterest Facebook invite functionality

I m trying to duplicate Pinterest s "Invite Friends" functionality. In case you haven t seen what it looks like, it looks like this: enter image description here

这里的这一重要要点是:1)有多个接收者,2)你可以打上习惯信息。

到目前为止,由于有了Facebook API,我只找到了向单一用户发送习惯信息或向多个用户发送预先扫描的信息的途径。 我没有发现向多个用户发送习惯信息的途径。

这里,请你向一个用户发出一个习惯信息:https://developers.facebook.com/docs/vis/dialogs/send/

And here s what will let you send a pre-canned message to multiple users: https://developers.facebook.com/docs/reference/dialogs/requests/

因此,他们如何这样做? 我怎么能允许我的用户向像P interest那样的多个接受者发出习惯信息?

最佳回答

大约一周前,Facebook对这一丑闻做了答复,称“设计”。 除其他外,利息被划为单列,可以包括多个接受者。 如何把白人列入名单? 除我外。

见https://developers.facebook.com/bugs/314701778595814。 供Facebook正式答复(并挫败开发商的答复)。

问题回答

Try 通过一个阵列作为to param。 这使你们选择接受者。 或者,与一些国际电离层电离层的阵列,以预示接收者。

FB.ui({
  method: "send",
  to:[],
  name: "Join my site, now!",
  description: "...",
  picture: "...",
  link:  http://... 
})
  1. 他们肯定使用 dialog,看看看正在形成的方言,头的人说,Send a letter, 仅寄发方言。

  2. 多位朋友可以事先选定,条件是你们能够利用用户(数字)或用户名称(字母数字)获得朋友。 但是,你没有穿过阵列,你就象这样通过了一个钟:

    FB.ui({
        method:  send ,
        to:  123123123,234234234 ,
        name:  People Argue Just to Win ,
        link:  http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html ,
    });
    




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签