Anubhav Agarwal
Anubhav Agarwal

Reputation: 2062

Unable to see Facebook news.read action story

I am trying to publish an open graph story using common read action. I added the read(news) action in the Action Types. Then I got the code for creating a read action as

https://graph.facebook.com/me/news.reads? access_token=ACCESS_TOKEN& method=POST& article=http%3A%2F%2Fsamples.ogp.me%2F434264856596891

I used facebook graph explorer for posting a story like Anubhav read an article on XXXX. by calling the user /me/news.reads with the params article = article_url. It gets publishd and I get a response id

I can see it in my activity log, but when I click on the link of the post, it redirects me to a broken link url. I am unable to figure out why I am being redirected to the broken link, and how can I correct it ?

EDIT

How I posted the request using graph explorer . I went to this url. I change the request type to POST. And in the field wrote /me/news.reads.

Added a field article with url . I got a response {id:684883751555542}. When I clicked on the link of activity on my activity log, I see a broken page link.

Upvotes: 0

Views: 94

Answers (1)

Tobi
Tobi

Reputation: 31479

It seems as you did a GET request instead of a post (from the URL you're showing)? If I follow the description given under https://developers.facebook.com/docs/reference/opengraph/action-type/news.reads/ and do a POST request with the article as form parameter, it works.

I had to "unescape" the URL though, maybe you can try this?

Upvotes: 1

Related Questions