Ember.js with Twitter cards and Facebook OG - facebook-graph-api

I'm have cards and og meta tags in my emberjs app, but when i check twitter/facebook debugging tools, they retrieved home page data. Any ideas what could be the problem?
BTW, I'm using NGINX mod_rewrite, and history url if thats any help.

You need to serve these from the server, Facebook cannot crawl javascript generated DOM.

Related

Facebook API - Post to page

I'm trying to figure out how to post to my Facebook page automatically from my website. I have a custom CMS written in PHP that I use with my website, and I have already created the Facebook App and set up the necessary App ID and App Secret. I have PHP code written that when I create a page in my CMS, it will take the Page Title and a blurb of the content and create a post in my Facebook page, however because my Facebook App is not live, only I can see the post.
I've tried to apply for my app to go Live, but have been denied because I do not involve a login process. However, I don't want to log in again. That defeats the whole point of having the extended life access token.
Is it possible to do what I am trying to do? Or is there something I need to include in my app review request to have this approved? Any insight would be greatly appreciated, as the response I get from Facebook is rather generic and unhelpful.
Thank you!

Solution for showing facebook comments on my WP posts from two App ID/API Key

I have built up a new Facebook application for my WordPress site.
I have connected it to my site by "add link to facebook" plugin.
Now my issue is all my past Facebook posts comments (comment integration) are not showing up...How can I pull them back from the old application?
In your plugin code, add xid="URL" and migrated="1" to the fb:comments tag, and it should migrate old comments from the URL to the new app.
The comments are tied to the URL and not the App ID, so as long as you have the correct data-href parameter set, you comments should appear correctly.

The admin option doesn't show up next to my like button

I have a problem. I created an app in FB and then with that app I created a like button. FB says that I should see an admin link next to my like button on my website when I am logged in.
I have fb:app_id and fb:admins set up in meta, still I don'see the link. I would need it for two reason.
One is to acces the admin of the page so I can send messages for people who liked my site, also I want to set up a fanpage and once I could access the admin of the website likes according to the facebook documentation I could turn it into a fan page (FB page) this way not loosing the likes.
Thanks in advance
That functionality is deprecated, there's a migration guide on Facebook's developer site explaining how to move your OG pages to regular pages if you want to maintain part of that functionality

adding app to facebook page

I'm new to facebook apps, and actually all I want is to add a 'contact us' tab to a 'like page' that I'm helping to manage. I have setup a server with PHP code, and opened an facebook app. (I left the SSL part empty because my server dose not support SSL.) And now I'm just trying to add the app to the page, but I can't find where... It's probably just a link I haven't noticed yet, but I can't find it.
I've googled around the internet, but all explanations I found where old, and didn't help me.
Just for clearness: I want to know how to add an existing facebook app to an existing facebook page
Thanks.
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
Here the documentation
https://developers.facebook.com/docs/reference/dialogs/add_to_page/

How to post to a facebook page

I need to post a status update of one of my facebook page when I create a model into my django project, but I don't know how to do it using the new facebook graph api:
http://github.com/facebook/python-sdk/blob/master/src/facebook.py
can you explain to me how to do it?
Thanks in advance :)
Let's look at a classy site that allows facebook sharing: http://www.news.com.au/national/topless-hero-tash-bennett-saves-neighbours-from-fire/story-e6frfkvr-1225864785973
On the story, there's a link to "post a story to facebook", if that's what you want to do:
http://www.facebook.com/share.php?u=http://www.news.com.au/national/topless-hero-tash-bennett-saves-neighbours-from-fire/story-e6frfkvr-1225864785973
You can reverse-engineer the protocol: 'http://www.facebook.com/share.php?u=%s'%page_I_want_linked_to
Make sure you click the link with a browser logged onto facebook; or use mechanize (and your Mozilla cookie jar) to do the job.