Checking if post is posted via application Facebook API - facebook

If I have post-id, how can I check if that post is posted via some application or not? I've tried with ["application"] but it does not work.
I have researched and could not find the answer. There is not a thread like here so I guessed I can create it.
Sorry If I have missearched, thank you.
P.s. I know how to get all the posts and how to access every single one of them, but not how to check if it's from the app or not.

Related

Can I post to a facebook users feed?

I think this used to be possible, and I was trying to update some code, but it does not appear that I can post to the me/feed endpoint using version 11 of the Graph API, Is this correct? Or is there another way to do this that I am missing?
After some more digging, it does not appear to be possible anymore. So much for automations in that context. :(

Facebook status post via app doesn't show in Newsfeed

I am using facebook graph api to post a status to Facebook via my app.
The problem is I can't see the status post in NewsFeed, but in the
Wall of the user.
I just used me/feed accordingly to GraphAPI documentation.
When I searched this issue, I saw quite similar thing http://developers.facebook.com/bugs/302089206530370.
This one is quite similar one too .Facebook graph post on feed is not visible in newsfeed, but that api is deprecated a long time ago and not the same API that I am using.
This one is exactly the same like my issue. http://developers.facebook.com/bugs/353691264693202 but sadly, facebook doesn't provide info in detail. can't find the duplicate issue.
I asked for scope=user_photos,read_stream,publish_stream,offline_access,user_status,friends_status grant access for my app.
Is there anything that I missing out?
Edited: I confirmed my setting of whether I have set to hide my app post in my newsfeed too. But I didn't set it.
I think that is the facebook bug. already found the similar one reported http://developers.facebook.com/bugs/372776119424090?browse=search_4fc3354fb769c0726100997
For the time being, I can only wait for Facebook to fix that bug.
Thanks.

creating facebook comments - without using social plugin

I there any way I can create and post comments, without using comments plugin at all.
Facebook graph api allowed me to fetch all comments under a particular post, but didn't find anyway to create new ones :(
thanks
Unfortunately Facebook don't look kindly on this kind of thing, even though OG objects have a /comments connection, so either the docs are inaccurate or it's a proper bug. Would love to believe it's the latter but I suspect it's a documentation error.
In any event i've created a bug report at Posting to Comments Social Plugin doesn't work in the vain hope it will be addressed, please engage on that report so we can get some love for this issue.
It's right there in the documentation for the Post object:
Create
You can write to the POST_ID/comments connection to post a comment to
the post by issuing an HTTP POST request with the publish_stream
permission and following parameters.

How to integrate Facebook in iPhone

I am working one of the application in which i have to implement facebook through FBConnect, i have done with that and it is working ,can post to the userwall, however the only thing which i didn't get is how to like any status updated by the user by default.Suppose in the appliction if user login and post anything through fbconnect that status should be automatically liked by default, i have search a lot however didn't find any solution.Please help me regarding for that
You probably can't do it in a single go. But you can get the POST_ID of the post you've just posted and then send HTTP POST request to https://graph.facebook.com/POST_ID/likes to achieve what you want.

How to check whether a comment is flagged on a page using facebook graph api

I have worked a lot on facebook graph api and used fql also. Recently i got a task to get all comments which are flagged on a specific page.
Could someone can help me out to get the solution. I searched a lot but unable to find the solution for the same.
Unfortunately information about whether a comment is flagged is not accessible through any of facebook APIs
http://forum.developers.facebook.net/viewtopic.php?id=86342