I am unable to return data once I click on the blog post. I believe that it is an issue with routing.
When clicking to a blog post we no content is return.
Related
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.
I am using the iFrame version of the Facebook like button and was wondering how Facebook scrapes my website. They pulled information in the middle of the page, which was the first paragraph tag, instead of taking from the divs earlier. I was wondering if this is normal and how often Facebook updates their page.
Secondly, I am having problems editing this information in the page settings on the Facebook page that was generated. It would be nice if I could manually override whatever Facebook scrapes from my website.
Thanks,
http://ogp.me/ — more specifically, using an Open Graph description.
I've searched for a while but I've only found the Facebook UI, that has some basic dialogs. Maybe some of you know some iOS apps that can open the comments page in a new "page" (e.g. Flipboard). Is there a way to show the comment page directly from Facebook or I have to simulate it through the API?
UPDATE: Not a page comment box. I want to show the comments of a post.
It is possible to create a facebook app showing your comment box. The same comment box can be showed in different pages/ urls using the "data-href" url.
<div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>
You could eventually add an static url in a database or something like that to wich you can always refer.
I dont exactly know what you want but i hope this helps
Ive made a website which you can 'like' and this is linked to the Facebook Page.
Is it possible to have individual blog posts 'liked'? If so, how could I still link these to the Facebook Page in some manor?
Thanks
You can set up Like Buttons for individual blog posts as long as each post has a distinct URL (which should be the case).
You cannot simultaneously Like a blog post and a Facebook page. A Like exists between one user and one Facebook object: http://developers.facebook.com/docs/reference/fql/like/
If you want to increase your Facebook page Like count, you can either direct people to the page itself or add a Like Box to your blog.
I understand most of how a RESTful site design should function, but in implementing a blog cannot decide the best way to present the form to insert a new blog post. Would example.com/posts/create be reasonable? This feels like the "create" is not restful, like it's putting information into the URI that should be simply represented by PUT/POST.
How would others do this?
Have a look at Rails Routing for the Rails view on this.
Verb URL Controller Action Used For
GET /photos/new Photos new return an HTML form for creating a new photo
POST /photos Photos create create a new photo
So, in your situation, GET /posts/new to get the new post form, but POST /posts to create a new post.
The point is, you're POSTing a new blog post, but to do that you need to GET the form that will enable you to do this. In a way, the new blog post form is just another (static) resource.
If you don't like the way that URL feels, then change it to:
GET http://example.com/posts/createform
Use a POST to submit the information for the insert, and then have the page do a redirect to the with the new ID in the URL. You don't want to have the new information on the URL since a user refreshing the URL will post twice.