Adnan
Adnan

Reputation: 2996

How to post on friend's wall using facebook API without logging in to facebook?

After latest Facebook API changes, is there any way to post on friend's wall, using authenticated access_token?

I have tried using Feed Dialog, but redirects to facebook login page. I want to bypass the login step.

Upvotes: 0

Views: 7558

Answers (2)

DD_
DD_

Reputation: 7388

No,You Cant

Currently, Facebook allows to post by two ways:

  1. Using FacebookAPI

  2. Using Facebook SDK (depends on your requirement)

    And in both these methods its must that you should be an authorised user to perform the action, authentication is a must.So you can't do this without a login.

NB: As per the Facebook Developer docs, graph API no longer works .(But I would like to add on that many of the iOS apps which used this service are still functioning well). So, I prefer to use Facebook SDK.

Hope my answer is clear.

Upvotes: 1

Cormac Driver
Cormac Driver

Reputation: 2521

Unfortunately not. From the Facebook API documentation on publishing:

"Note: If you are posting to a friend's timeline or wall, you must use the Feed Dialog."

Full details: https://developers.facebook.com/docs/reference/api/publishing/

Upvotes: 2

Related Questions