Can't get through Facebook app review - what can I do? - facebook

I'm trying to get the read_insights permission on Facebook. I need it just to be able to display like counter in widget on my website.
I sent them screencast showing the like counter widget on my website. After a couple of days, they sent me this: https://screenshots.firefox.com/JRSgEeePBXLYDmFM/developers.facebook.com
I have no idea how can I show them what they want. I just want to be able to display the damn counter.
Does anyone have any idea how can I get the permissions I need? Did anyone had a similar problem?
Thanks,
Kacper

/{page-id}?fields=fan_count
That´s the API call to get the current number of fans/likes. There is no need for access to insights.
For Pages you manage, you can use a Page Token of that Page. For other Pages, you need to get "Page Public Content Access" approved by Facebook.

Related

How to check if user is a fan of facebook page by Graph API?

I want to check if user is a fan of a specific Facebook page, I have tried searching in Google but I haven't found the answer yet.
I am an admin of fanpage. I am having a promotion program on my page and becoming a fan of my page is a requirement. I want to check if users like my page to give them presents. Because of a large users, I want to create a tool to do it.
Do you have any solutions? Thank you!
You would need to authorize the user with the user_likes permission. That way, you can get his Page likes with the /me/likes endpoint.
Be aware that you are not allowed to incentivize Page likes, users must like a Page only because they really want to, you can´t reward them in any way or gate content behind a Page like.
You can also use /me/likes/{page_id} where {page_id} is an actual page object id as a shortcut.
If the user doesn't like the page, you'll receive a response like
{
"data": [
]
}

View all comments from a facebook page, on my own site

Is there in anyway i can make a FB:Comments or something else, which shows me the comments that i give people, and the comments people are leaving, at my page on Facebook ?
In basic.. i just wanna see everything thats written on the wall/news feed on my page..
Anyone knows how this is possible or if it is possible ??
You'll have to create an application that has the manage_pages permission. With this permission, you'll be able to extract all the posts from your page and then display them however you see fit.
For more information on creating applications - you can read here
For information about permissions on facebook - you can read here

Is there a way to query the GraphAPI to find all pages that added my app as a tab?

I've created a Facebook app that is a tab which users can add to their own facebook pages.
I want to display on the main page a list of installers.
Is there a way to find this? Using FQL? GraphAPI?
Thanks in advance,
Rotem
I don't think this is possible with FQL or the graph api. The only thing I can think of is the tabs connection on the page object, but you need a page token to get it.
I would solve this manually. You can easily get the page id your tab is displayed on from the facebook signed request, and store it in a DB somewhere. Anytime your tab is viewed just add this check and in a short time you will have a full list. Good luck

How can i show the wall (feed) of my page to app on facebook?

How can i show the wall (feed) of my page to app on facebook? As i see in the page
www.facebook.com/kesha?sk=app_178091127385 and
www.facebook.com/pages/Khanduna-Yengu-Nangsu-Amuktang/187317137978077
I want show the wall(feed) of my page to my app of facebook. Please Help me.
I also try and see graph api as below
graph.facebook.com//feed
But Fail,
Please Help any one.
As I understand your question, you want to take the wall of your page and show the content of that on another page controlled by an app you have made, so that is the question I will answer.
There are a couple of things you need to do.
Facebook now requires you to have an access_token to get that information. You can get this in two different ways. Either you get your users permission to grab an access_token for them, or you create an access_token for one of the admin users with offline_access and manage_pages permissions.
There are problems with both cases:
1: Getting an access_token per user requires people to give permissions to your app which is quite annoying if they just gain access to the contents of the feed.
2: Having one access_token is also a problem seeing as Facebook puts a limit on how many requests you can make per access_token in a given time.
You need to balance these things out if you want the feed to be shown. Which case would you most likely use? If you don't have many users the second case might be the best, but if you go over the request limit no content will be shown and that could confuse your users.
Anyways.. Once you are past the access_token problem, you can access the information by getting the content from the page:
https://graph.facebook.com/YOUR_PAGE_ID/feed?access_token=YOUR_ACCESS_TOKEN.
You then get a nice json output you can use. If you are using the Javascript API you can simply use the information here:
http://developers.facebook.com/docs/reference/javascript/FB.api/
If you are ever unsure how to get the information you need there is a nice tool for that developed by Facebook called Graph API Explorer which you can find here:
http://developers.facebook.com/tools/explorer/

Get application liker via graph api

How can i get all the facebook user id whose like my application via a graph api.
Please give any suggestion.
Like facebook fan page showing application liker randomly. I also want to access my application liker list and want to save in database.
Please tell me if any possibility? Need your suggestion...
Thanks
Sorry, I don't think that's possible for privacy reasons Facebook doesn't allow it. You need to get people who like you application to install and authenticate it before you can find out more about them. However, I do remember someone managing to scrape the fans of a page before so maybe that's possible for applications as well...