how to get a page owner feeds by facebook graph API - php

i'm trying to get a facebook page feeds using graph URL. but i want to get only the owner data ... i don't want anything not from the owner. i can do that using PHP. but i'm asking if i can do that using the same graph request.
Thanks

Just use /posts instead of /feed

Related

php for instagram feed

I'm trying to embed an instagram feed on a webpage. I have gone through the steps on the instagram developer page to get an access token but I don't know what to do with it. Is there php code that you can suggest that I can use to create a feed by adding the user id and the access token?
Look at results here, Google is your friend :)
Example

How to remove someone who is connected to my facebook page using graph api

I am developing a Facebook application and I want to remove someone who is connected to my Facebook page using graph API. At the same I want to remove his like from my Facebook page. So initially if my page like is 100 and after removing the user it should be 99. How can I do this using graph API? Can I achieve this by blocking the user?
Thanks
There is no API to remove a like of a Facebook Page, neither from the user's side nor the page's side

Easy way to get facebook statuses from a particular page in PHP?

I need to grab the statuses from a Facebook page via PHP to display on the page. I don't want to have people logging in to facebook just for my script to grab the statuses from the page since it is a public page and isn't restricted. I have the Facebook API for PHP in my projects directory but have no idea how to use it to do what I want it to. Could someone give me a code example of how I'd do this? Thanks!
It's really a straight forward task if you follow the documentation. Since /PAGE_ID/feed requires any valid access_token, your app access_token is enough to get the data:
Open the Graph API Explorer (I'm querying coca-cola/feed)
Get an app access_token from the Access Token Tool and use it instead of yours
You're done!

Facebook Graph API with PHP connection

i want to display facebook friends on my website and i want to use facebook graph api for that,
please
Thanks
Prakash
Facebook Graph API with PHP connection
This tutorial might help: Facebook PHP SDK
It includes example as well.
Generate an access token for yourself by going to https://developers.facebook.com/tools/explorer and then you may be able to retrieve your friends by accessing https://graph.facebook.com/_YOUR_USER_ID_/friends?access_token=xx and then the profile images can be retrieved using the following graph API call - https://graph.facebook.com/_FRIEND_PROFILE_ID_/picture?type=square
Of course, for more details, the Facebook Documentation (https://developers.facebook.com/docs/) is where you go to.

Facebook post to wall

I have a Facebook Application Profile Page that I would like to create a custom script to perform wall posts on its wall. The reason I need this is because the existing Facebook "Post to Wall" functionality does not post the pictures I want it to.
What I need is a PHP webpage that allows me to do this:
Inputs:
App ID (App ID of the Facebook App that I am looking to post to wall)
API Key
App Secret
URL of Image to post
Message Body
URL of link
Output:
the post is made to the wall of the Facebook App Profile page, so that anyone who has "liked" the page can see it.
Any ideas, brainiacs?
That's all supported by the graph api, you'd need to submit to http://graph.facebook.com/app/feed with the post submitted as POST data (message), and of course an access token. If you use Facebook's own php library, there are functions which will implement the api calls using the curl library for you.
If you haven't used the graph api before, you should start reading their developer resources at http://developers.facebook.com/docs/reference/api

Categories