Jump to content
Sign in to follow this  
Zeka

Facebook and oembed

Recommended Posts

Hi.

I'm trying to get embed data for some posts from Facebook using specified endpoint https://developers.facebook.com/docs/plugins/oembed-endpoints/. It works for all type of posts, but not for posts that match this pattern https://www.facebook.com/permalink.php?story_fbid={post-id}

For example, this post 'https://www.facebook.com/permalink.php?story_fbid=1461042474038729&id=188990994577223' returns 404 when requesting URL 'https://www.facebook.com/plugins/post/oembed.json/?url=https://www.facebook.com/permalink.php?story_fbid=1461042474038729&id=188990994577223'

Maybe it somehow relative to additional ID parameter in post URL, but I haven't seen URLs for post only with 'story_fbid'.

So, I really can't figurate out what is the issue here. Maybe somebody faced such problem and can get some ideas of recommendations?

Share this post


Link to post
Share on other sites

In looking at the docs like you pointed out, I don't see anything related to 'story_fbid'. Couldn't you use the specific username to pull the post using:
 

https://www.facebook.com/{page-name}/posts/{post-id}

Sorry, I am sure you probably already tried that approach, but it is the only thing I currently see that might fit the bill.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...