Open justinormont opened 11 years ago
Parse URL parameters server side and produce a correct Title, OG MetaTags, Meta Description, & Twitter Metacard data.
Use case:
URL Example: http://letsgo.io?from=San+Francisco&q=New+York+City&wp=37.783333,-122.416667,43.066667,-89.4,40.67,-73.94&pids=8158094262,6920002684,2835649418,3920850843&dpid=3908821399
Where:
q
from
wp
pids
dpid
If dpid is set, set the photo metadata to the photo pointed to by dpid.
Twitter card spec: https://dev.twitter.com/docs/cards
This is in prep for #9 (Social share icons for Facebook/Twitter/Google+)
Parse URL parameters server side and produce a correct Title, OG MetaTags, Meta Description, & Twitter Metacard data.
Use case:
URL Example: http://letsgo.io?from=San+Francisco&q=New+York+City&wp=37.783333,-122.416667,43.066667,-89.4,40.67,-73.94&pids=8158094262,6920002684,2835649418,3920850843&dpid=3908821399
Where:
q
: destination location name (picked up as the main search term)from
: source location namewp
: way points, including the starting and end pointspids
: selected photos (currently unused) [optional]dpid
: current photo being displayed in the large viewer [optional]If
dpid
is set, set the photo metadata to the photo pointed to bydpid
.Twitter card spec: https://dev.twitter.com/docs/cards
This is in prep for #9 (Social share icons for Facebook/Twitter/Google+)