upload picture to facebook wall API graph 3.0 - facebook

I was publishing pictures on Facebook wall of the current logged user using API GRAPH 2.6
Facebook announced this version will be deprecated and I want to use version 3.0
One of the radical changes is that publish_actions permission is not supported any more.
How can I publish a picture for the version 3?
My pictures are stored in AWS S3 and the URL expire very frecuently so I need to upload the picture not the URL
In the following images you can see I was trying with API GRAPH EXPLORER publish_action permission do not exists but the error given by facebook is claming that I need that permission. Is very confusing

Related

Upload video to Facebook page with Graph API - RestFB

I've been trying to upload a video to my FB page using the Graph API through RestFB Java library. I am having an issue with the access token when accessing it through the Graph API explorer. To publish video it says my application needs review from FB but I only want to post to my own page. Where can I get an access token that allows publishing to my page without having to submit a review?
Thanks

Facebook CheckIn for version 2.3 using RestFB

I am working on integrating Facebook Graph API with my J2EE application using RestFB.
I need to programatically checkin a user's place of stay which I get on the basis of location.
But Facebook's graph API version 2.3 has removed the check-in post option.
From what I have read from the docs, this is now possible using the /post/feed url of Graph API.
Using this url, I am able to post message and links, but this does not convey the impression of a user check-in.
Please advise if this is correct or can this be done by some other way.

Reading news feeds from Facebook fails after upgrading graph API 2.0

Hi There is a requirement in my application, where we need to show the user news feeds. For this we were using Facebook permission "read-stream" before Facebook has changed their list of permissions.
Now after they have shifted to the new API v2.0 there are comments saying that
"read_stream permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop, in-car and TV apps will not be granted this permission."
If this is so what is the alternative to make my app fetch news feeds as earlier.
There is a another permission called "User_Posts" which says "Provides access to the posts on a person's Timeline. Includes their own posts, posts they are tagged in, and posts other people make on their Timeline"
But i am not able to see any posts or news feeds in my application when i have replaced "read_stream" with "user_posts".
The alternative is the user_posts permission and the /me/posts endpoint. Of course this does not return posts of friends for privacy reasons. You can read more about that in the changelog.
If you don´t get any results, make sure the Access Token includes the user_posts permission and debug it in the Debugger.

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.
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/
No,You Cant
Currently, Facebook allows to post by two ways:
Using FacebookAPI
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.

Can I upload photos but not post to wall in Facebook?

Can I upload photos using Facebook API but not post to wall in Facebook?
What I use is the photos.upload in the API.
If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually?
Documentation of graph API (http://developers.facebook.com/docs/reference/api/photo/) mentions the following:
If you would like to suppress the
story that is automatically generated
in the user's feed when you publish a
photo (usually because you plan on
generating your own), you can add a
no_story=1 parameter. In this case,
the user will receive a notification
that your application has uploaded a
photo.
Adding the same parameter to the legacy REST API seems to work for me
Let me answer my own question:
It's about the permission problem. We can set the permission so that the photos do not publish to wall.