Facebook Open Graph Apps

I have created a single page app using trunk js. I have separate "routes" backbone URLs for different application states and dynamic content (like books), but essentially Facebook will only see the index page.

The following SO question seems to present an interesting approach to providing physical open image URLs for dynamic content:

Multiple Facebook opengraph objects on one page

How have other developers approached open tags on dynamic pages, especially in single page apps?


source to share

1 answer

You can have a server to render dynamic content for this, but you still need a different url for each object as that means facebook is indexing those objects.

However, you can use a portion of the request or a portion of the URL to identify it. So let's say you have one page where you want to serve all open objects of the graph: your-domain.com/og now you can add IDs like this to it:





All Articles