-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use p-invitee
markup for Facebook event invitations
#71
Comments
Taking this one step further, could actually invite multiple people with one h-entry! <article class="h-entry">
<span class="u-uid">tag:facebook.com,2013:600583236694318_rsvp_3901700</span>
<a class="u-url" href="http://facebook.com/600583236694318#3901700"><time class="dt-published" datetime="2014-02-20T09:00:00-0800">permalink</time></a>
<div class="h-card p-author">
<div class="p-name"><a class="u-url" href="http://facebook.com/aaronpk">Aaron Parecki</a></div>
<img class="u-photo" src="http://graph.facebook.com/aaronpk/picture?type=large" alt="Aaron Parecki" />
<span class="u-uid">tag:facebook.com,2013:aaronpk</span>
</div>
<div class="p-name">Aaron Parecki invited 2 people</div>
<div class="e-content">
<a href="http://facebook.com/aaronpk">Aaron Parecki</a> invited 2 people to the event
</div>
<a href="http://facebook.com/3901700" class="p-invitee h-card">
<img src="http://graph.facebook.com/3901700/picture?type=large" alt="">
Davy Stevenson
</a>
<a href="http://facebook.com/snarfed.org" class="p-invitee h-card">
<img src="http://graph.facebook.com/snarfed.org/picture?type=large" alt="">
Ryan Barrett
</a>
<a class="u-in-reply-to" href="https://www.facebook.com/events/512367802216703"></a>
<a class="u-in-reply-to" href="http://caseorganic.com/events/2014/02/12/1/homebrew-website-club"></a>
</article> |
thanks for all the details! this one should be pretty quick. |
done! here's example markup: https://brid-gy.appspot.com/rsvp/facebook/212038/200590280142030/1216101 <body><article class="h-entry">
<span class="u-uid">tag:facebook.com,2013:200590280142030_rsvp_1216101</span>
<div class="p-name"><a class="u-url" href="http://facebook.com/200590280142030#1216101">NAME is invited.</a></div>
<div class="e-content">
<div class="h-card p-invitee">
<div class="p-name"><a class="u-url" href="http://facebook.com/1216101">NAME</a></div>
<img class="u-photo" src="http://graph.facebook.com/1216101/picture?type=large" alt="NAME">
<span class="u-uid">tag:facebook.com,2013:1216101</span>
</div>
is invited.
</div>
<a class="u-in-reply-to" href="http://werd.io/2014/homebrew-website-club"></a>
<a class="u-in-reply-to" href="http://indiewebcamp.com/events/2014-01-29-homebrew-website-club"></a>
</article> it usually won't have the inviter, ie the event owner, since that would take an extra API call that i decided not to burn the latency on. it's fully implemented, though, so it may show up in the future or in other silos. |
Facebook event invitations should be updated to use
p-invitee
markup.The author of the h-entry should be the person who created the invitation on Facebook (currently the author is the invitee, which is backwards).
The content of the h-entry should include a
p-invitee
property which is the Facebook URL of the person being invited.Potential markup:
See Publish an Invitation for more details.
The text was updated successfully, but these errors were encountered: