Is there anyway to get user contact details those are commenting on my Facebook page post or image...i am using Facebook graph API. Able to get name and unique id of user only. Using Facebook page web hook it informs me when anyone comment or like my Facebook page post. If there is any reference or KB, very help full for me.
Related
I am using /{page-id}/feed endpoint of Facebook Graph API to get the feed from a particular page.
There in the response a post from an user to the page is missing, though from facebook portal I am able to see that post on that page. As that post is visible there I can assume that is public.
Another post from the same user on a different page is also not coming in response.
Any idea on why the post is not getting returned ? also I need details about what kind of data is not supported by facebook page feed API.
Your answer will be really appreciated.
I have a web page linked to a Facebook application where users can log in by their Facebook account.
I have also a Facebook page for my application where anybody can post.
What I'd like to achieve is the following:
- An ordinary user logs in to my web page using her Facebook account,
- She adds an information to my web page (for example a book name),
- That information is instantly posted to my application Facebook page under page's name (for example "this book is read by someone").
I don't want it to be posted by the user, I don't want it to be posted by myself (admin of the page).
I don't want to mention about the user, it will be anonymous information.
But I couldn't find a way to do it either as JS or PHP.
Any suggestion is welcome.
Many thanks.
You will need to get a page access token. https://developers.facebook.com/docs/facebook-login/access-tokens/
Get it, store it somewhere on your server – and then use it when making the API call to post what the user entered.
I have a facebook page for a project I am doing. I embedded the timeline stream in my external website, but now I want visitors of my website to be able to post to my wall. They need to be able to post as themselves, not the administrator of the page.
How should I do this ?
#EDIT: I searched the facebook developers page allready ofcourse, but didn't find the info I need.
In this case
Facebook PHP API post to wall falls under "Recent Posts by Others"
they posting to a FB Wall maybe u have to check if the access token u get from the users allow a post to a page wall.
Facebook comments plugin - as far as I understand, if I have put the facebook comments plugin on a post web page, and the permalink of the post being commented on matches the base URL, then comments are stored via facebook using my post permalink.
Lets say if I post the permalink onto my facebook page wall (which I am the admin of), the open graph tags come into play, all the relavant data is pulled in, fb:admins, fb:app etc.
But is it possible to connect my facebook page (using my facebook page ID) to that permalink - so that comments posted on the page using comment plugin, connect/link with the post comments on my facebook page wall?
Thanks
This is currently not possible. We've implemented custom solution using Facebook Application and Facebook Javascript SDK on the website itself. You need to query the comments table of a specific Page post via FQL using your app access token from your server to retrieve all comments and render them on the page.
Then you need to provide user with several entry points for several states in order to enable posting for them. You need to solve four cases:
User doesn't like the page and didn't authorize your app
User doesn't like the page and authorized your app
User likes the page and didn't authorize your app
User likes the page and authorized your app
User needs to like your page and authorize your app with publish_stream permission in order to be able to comment on your page posts via your website. Of course you need to maintain reference between posts on your page and posts on your website.
The website where we did this a few years ago is BIGGBOSS click on "Komentáře" and find the same post on Facebook with the same comments.
As far as I understand your question its not possible to connect the comments from the commentbox, integrated in your non-facebook page (e.g a blog of yours), to the comments which are posted to a post on your fanpage.
The only solution would be to build an custom commentbox with the open-graph and publish the comments to the fanpagepost and additionally extract the comments out of the fanpage to display them on your blog.
But this requires accepting permission dialog before people are able to comment on your blog which would probably decrease the comments made. You would lose the benefit of the built-in commentbox.
I would like to post data to a Facebook Page using Graph API even if I do not have Admin rights on the page.
I am familiar with pages with stricter permissions.
For example, http://www.facebook.com/barackobama is a page where I cannot post data even if I 'Like' it.
My questions are,
Can one create such a page with permissions so that any one can post data on it?
What is the minimum criteria to post data on a Page? ( Should I be the Page Admin / I Like Page / Anyone with a Facebook login)
If I cannot post to a page without admin permission, can I use public groups to post data via Graph API?
Any feedback will be greatly appreciated?
Disclaimer: I asked this on Facebook Developer forum also. Seems like the average response time is too slow.
Page admins can specify if Users can or cannot post on its wall, even if they are fans already.
The criteria is:
You like the page
The admin settings for "users can post on page wall" is checked
No you cannot use groups to publish to a page.
The questions might be irrelevant if you really wanted to post to a page. Your questions mean that you will post on the page as yourself. There is another way to do this, but you will be posting as the page itself.
Get an admin of the specific page to allow your app with these permissions "offline_access,publish_stream,manage_pages". Get his access token, query "me/accounts" in graph API, get access_token of the page, publish to wall using the page's access_token.