javascript - How can I pass Facebook Share API an object with no (real) canonical url? -
information:
- project in angular, makes heavy use of '#' , '?' in urls, objects have unique url
- running on apache 2.4
- the "share" pane angular modal, html template
- site being developed on localhost
- goal able share individual objects app, not entire site
what have tried:
- configured apache accept fake canonical urls, rewrite them angular dynamic urls, application formats dynamic urls "canonical" urls replacing special symbols "/"... piece working fine
- plug-ins "social sharing on angular" leave share pop-up truncated url, path root folder (full path visible , correct in address bar param)
- manually calling fb.ui() passes correct url, facebook throws "could not find object @ url"
- adding dynamically generated "meta" tags html template (longshot) seems have no effect.
could issue because i'm sending "localhost" url testing? or facebook require shared content located @ it's own root-level document "meta" tags inside "head"?
Comments
Post a Comment