According to this document an app can delete a post only if it published it. But in this document it is reported that
Extended Permissions give access to more sensitive information and give your app the ability to publish and delete data. All extended permissions appear on a separate screen during the login flow so a person can decide if they want to grant them.
I don't understand if I can I delete users posts logged in with my app?
You can delete any post made via the application you want to issue the delete request from.
Say you use Application A to post status X.
Application B cannot delete status X only Application A can.
The quoted section doesn't really contradict anything. The data it is referring to is any data that application has posted on your behalf.
Related
I'm currently toying with the Facebook Graph Api and have been able to get some interesting results, I would like to be able to post to one of my Facebook App users pages. They have authenticated the app and confirmed the ability for my app to be able to post on there wall. I know there is the can_post check using FQL, but I haven't seen any information on this using the Graph API. Is there a possible check to make so I can see if I have the ability to post on there wall?
can_post
https://developers.facebook.com/docs/reference/fql/user/
This settings is actually a setting of the timeline:
This setting only affects the viewers of the specific timeline and does not apply to the owner of the timeline.
can_post - bool - Whether or not the viewer can post to the user's Wall
Beyond this settings, by authenticating an application and giving it certain publishing permissions, the application, using it's per-user per-app access token will be able to perform actions on behalf the actual user. Actions will be attributed to the user even though it is the application that initiated and published these stories.
To answer what I assume is your underlying question - your application, given the appropriate permissions, will always be able able to publish a story to the users timeline. The act of giving an application any permissions is the same as allowing the application to act as you and access everything you would be able to access. This includes posting a story to your own timeline (even if no other user would be able to).
I am using the graph API to retrieve information and I have stumbled upon an issue where the Graph API won't return any information. The page I am referring to http://facebook.com/JubilationDanceMinistry which one can publicly access and see, however when I go to the Graph API URL: http://graph.facebook.com/JubilationDanceMinistry it is denied. I understand that Facebook explains this issue by saying it is by design.
We deliberately do not return a more specific exception for this case; the error message covers invalid IDs, non-existent objects, deleted objects, objects which are not visible to the caller due to demographic restrictions, objects not visible because the owner of the content has set privacy settings which exclude the caller, content not visible because the owner of the content has blocked the caller, because the owner of the content has disabled platform apps from accessing any information about their account, etc. (emphasis added)
So the reason is most likely that platform apps access has been disabled, however I see no setting for this anywhere, so I doubt this is the case. Does anyone have any advice what is going wrong here?
Thanks.
The page I am referring to http://facebook.com/JubilationDanceMinistry which one can publicly access and see
Not really – when I click on that link, I get taken to the FB home page, although being logged in to Facebook. So I think it’s fair to assume that this page is not publicly accessible, resp. that there are access restrictions in place (based on country maybe, because age and alcohol restriction should not keep me from accessing it).
And in those cases, you can only get access with a user access token – because that’s the only way for Facebook to verify that the requester is allowed to see the content.
I found a very similar question here: Actions do not appear on timeline, but the solutions offered there are not working for me.
I created a custom graph action and a custom graph object through my Facebook application, and the process of publishing seems to be working fine. When I post the data using the JavaScript SDK with my access token and the object ID, the Facebook API returns the ID of the action, which I can then access on the graph. This side of things is clearly working, since accessing the object via the graph with my app's access token returns all the information it is supposed to.
However, I see no record of this action on Facebook itself; not on my app's timeline, not on the aggregation I set up for this action. The solutions offered in the link above entail double-checking the validity of the meta tags, which I did using the debugger, and also ensuring that there are no URLs within the meta tags that are inaccessible, which is also not the case. Is there anything else that could prevent these actions from showing up on the timeline?
Thanks!
There can be some permission error for facebook (and thus global users) for some url. If you get the action response id, it has to be in your facebook timeline at least (not in others excluding the developers and testers of your app) and it really occurs almost real time.
PS: If you found a similar questions elsewhere, please try to go on with the discussion there instead of creating a duplicate question.
I am using Graph API and I have searched these message boards for hours. I can't seem to figure out How To Delete A Comment From A Blog Post Step-By-Step. Right now, the url I'm putting into the browser is: https://graph.facebook.com/{my_ID}?method=delete&access_token={my_access_token}
(the parts in the parentheses is my actual information)
This is the reply I get: "(#200) Users can only delete their own comments"
I got the public_stream access token by clicking 'Get Access Token" and checking the box that says "public_stream".
Anyone know what I'm doing wrong? Also, once I get past this webpage that allows me access, what is my next step?
Are you trying to delete a comment created by you itself?
In Facebook, delete permission is given to objects (events, comments etc) created by you and those comments and posts created by others on objects owned by you.(comments/posts on your wall, events created by you etc.).
If you want to delete those comments and posts created by others you will need the access token of the owner of those objects.
"once I get past this webpage that allows me access, what is my next step?" this is not clear. Please be specific. Will try to help.
I'm building a web app that will make heavy use of Facebook connect. I'm not planning on displaying publicly any data I receive from Facebook other than basic profile information. However, I would like give users the ability to display publicly to the world information such as what college they attend. I understand I could retrieve this data from facebook but sharing it would violate their data use policy. My question is, if I have the user enter the information manually into my application and I displayed it publicly, would facebook terminate my application?
My other question is I'm planning on creating an messaging feature in my application where users can message each other privately. Would this be a violation of facebook's policy since it might be interpreted as replicating facebook's messaging feature?
Retrieving and showing information doesn't violate their TOS. (But you need keep in mind items: II.3 and II.11 especially, as well as other items from http://developers.facebook.com/policy/)
You can implement on your site any feature you want