-
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
publish should propagate person-tags to POSSE copies #459
Comments
thanks for all the details! agreed, this would definitely be fun to have. |
updated title since we should ideally do this for all silo person tags, not just on posts published by bridgy. |
oh wait sorry, i misread. this is the other direction. reverting that change. |
slightly modified since afaik it's not technically photo-specific: you can person-tag arbitrary FB/twitter posts, with or without a photo. |
agreed, more than just photos, photos just happen to be key (driving) use-case :) Also, extended person-tag markup example added as promised: http://indiewebcamp.com/person-tag#With_other_profiles Inline for your convenience:
|
And on the backfeed side: #488 |
current silo support:
|
ahhhhh...much better. for snarfed/bridgy#459
facebook is done! tested just now and it works. silo SWAT0 here we come! |
flick is done now too, thanks @kylewm! tentatively closing this since the other three silos aren't possible. if anyone badly wants this for the other silos and really wants to track it in case they add support in the future, feel free to reopen. |
Agreed with closure as completion of what's possible today. Other silos should be separate issues with proposals that are either actionable today or fully "wish list" awaiting something from the silo. |
Looks like this may have broken recently in Bridgy Publish photos + person-tags to Facebook at least. This post: http://tantek.com/2016/018/t4/w3cab-meeting-hawaii (has a bunch of person-tags) Note that none of the person-tags (including my tagging myself) made it to the POSSE copy on Facebook. All of the person-tags on that Facebook copy (including of me) were added afterwards by Coralie, as you can see by hovering over the person-tags and looking the top left of the resulting pop-up where it says in small white text "Tagged by Coralie Mercier". Any idea what broke? Re-open this? |
For reference, we originally noticed that person tags seemed to work when you use the person's numeric ID as their URL in http://tantek.com/2015/350/t2/seasons-greetings-homebrew-website-club where it successfully tagged Marc Canter, even though he has never logged in to Bridgy. But even if that was a fluke, we still would've expected Tantek's person tag of himself to make it through. |
I mentioned on IRC that person tags used to not work without a location ("You cannot specify this field without also specifying a place.", though the same caveat does not exist on the photos page) and I was surprised when they started working. Maybe Facebook fixed the "bug" that was letting us do it temporarily. |
|
the
|
the FB API call is a POST to plus, we got a 200 from the API request, and FB usually returns non-2xx with error details if we give it a bad parameter; it doesn't usually silently ignore. |
tantek's access token includes the |
i don't have any new leads on this, and i haven't found any other recent person-tagged facebook publish attempts to compare against. :/ @tantek, definitely let us know if you end up trying again! |
@tantek retried and person tags went through again, surprisingly even more than we thought. details: we still don't understand why tags didn't work the last time, but it's looking like our code is working naively at least, and Facebook's tagging API is either unpredictable or more complicated than we thought. so, I'm tentatively (re)closing this. we can keep collecting data points on the complexities in #568. |
When you use Bridgy Publish to POSSE a photo post, it should read the person-tags from the original post, and propagate them to the POSSE copy (e.g. to Facebook or Twitter).
Original question/request: http://indiewebcamp.com/irc/2015-09-01/line/1441139069479
See also:
http://indiewebcamp.com/person-tag
This could be implemented in at least a couple of steps/iterations.
Phase 1: only use person-tag URLs of silo profiles that are directly indicated in the h-cards of the person-tags on the original photo post. E.g. a person-tag h-card could have multiple u-urls on it, and if one of them happens to match the silo domain, use it as the identity to person-tag on the POSSE post! (I'll add an example of how a person-tag publisher could do this to the indiewebcamp wiki to hopefully make it more concrete).
Phase 2: look up the person-tag's silo profile equivalent via rel=me identity lookup on their website. This would require Bridgy to retrieve the first u-url of the person-tag h-card, parse it for rel=me links (i.e. use a microformat2 parser), use the first one of those rel=me links that happens to match the silo domain as the identity to person-tag on the POSSE post! This could require Bridgy to do one additional HTTP(S) request per person-tag on a post which thus depends on the number of people in a photo.
The text was updated successfully, but these errors were encountered: