Facebook Like Button doesn't show og metadata until after first like -
the issue identical facebook recommend ignoring og:title until page refreshed, never seemed resolved (and solution unfortunately did not us).
we have thousands of pages programmatically-generated button. first time click on button, appropriate og-tag information not included in popup, , popup looks (with url redacted) http://imgur.com/nwffny1,uci76qv#1.
if continually unlike , relike page without refreshing, broken. if refresh page, though, or call fb.xfbml.parse() javascript console, , re-like page, information appropriately included, , looks other image in above album (i don't have enough reputation post 3 links :-( ).
any subsequent attempt page has been liked (even other myself) succeeds. if enter url unliked page https://developers.facebook.com/tools/debug, looks fine, , attempt page shows information. seems once facebook caches information, things good.
any suggestions appreciated!
it seems once facebook caches information, things good.
yes, of course – how works.
when facebook encounters “new” url, sets scraper on information it. in cases triggered end user (like button, feed dialog, etc.), may take “too long” facebook info – , don’t have ui wait it, because want fast user experience.
what can (apart making server respond faster, should(!) bottleneck in [1]), programmatically ask facebook via api scrape pages – ideally @ point add new content site, can pages exist while already, might not have been scraped yet.
how that’s done, described here: updating objects. (if plan in larger quantities, i’ve heard should advisable include app access token calls, avoid throttling.)
[1] if server bottleneck because delivering large pages, consider delivering meta data pages under different urls, scraper has less content read server , maybe server has less content create in first place – that, see same linked document, section “handling large objects pointers”
Comments
Post a Comment