Facebook Share fails on Localhost (Ruby on Rails dev) -


it looks facebook share's plugin fails when i'm on localhost:3000, though have set url on app settings.

first, screenshot of app settings: enter image description here

and code have in head:

     <head>      <meta property="fb:app_id" content="<%= rails.application.secrets.facebook_app_id %>"></meta>  <meta property="og:site_name" content="<%=rails.application.config.app_name %>"></meta>  <meta property="og:url" content="<%= request.original_url %>"></meta>  <meta property="og:type" content="website"></meta>  <meta property="og:title" content="<%= @user.fb_name %> doing something"></meta>  <meta property="og:description" content="this website awesome!"></meta> </head> 

finally, here plugin html code:

<div class = "row fb_share">         <div class="fb-like medium-12 columns" data-href="<%= request.original_url %>" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>         </div> 

and screenshot of share pop-up get: enter image description here

any ideas on why failing? have facebook terms localhost testing changed in 2015?


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -