Uploading an app to a custom wall - Graph API vs Open Graph
Of course, there is a lot of information on how to do many different things on Facebook. Resources are scarce, but I am missing some information. I feel like there is confusion with Open Graph
and Graph API
.
I am writing an application that will post a post to a user's wall.
- User grants access to the application
- The application collects this user information
- The program (in this case Java) is posted on the user's wall.
In theory, this is simple enough.
To get # 3 to work, I used the Graph API
publishing call . Works great.
But after all this works, I see on the same page that the call is /PROFILE_ID/feed
:
Post a new post to this profile / wall. Please note that this feature will be removed soon.
Fine! I tried to find the equivalent using Open Graph but can't find anything like it. I saw that the app to post on the wall without user authorization (I want the user to only authorize the app once, then the app can publish many times - the user cannot participate in every post), it had to use Action
and Objects
, but only Facebook preliminarily defined ... Can I still do this through HTTP request
?
To overcome the confusion, in the Open Graph
Advanced Topics How-To: Use Application Access Token , it refers to using
curl -X POST \
-F 'message=Post%20with%20app%20access%20token' \
-F 'access_token=YOUR_APP_ACCESS_TOKEN' \
https://graph.facebook.com/4804827/feed
Let's go back to the original method I found with help Graph API
, which will be removed soon .
I would like someone to help me figure this out. I don't need any code. Too many messages already with code and bug fixes. I believe I need understanding.
Thanks in advance.
source to share
Let's start with your request. 3: Program (in this case Java) messages for users.
To accomplish this 1. you need to know what you are going to post to the user's wall.
-
According to Facebook-Opengraph, this information is shared as user + action + object.
-
Now you need to determine what actions you want. Refer here
-
Then define objects
-
Post your story or post on the user's wall.
source to share