Facebook won't show feed unless user is logged in - feed

We have integrated a Facebook feed on our site. It only works if the user is logged in on Facebook. If the user is offline the feed tells the user to log in (the feed does not show up).
(Example, you have to log out to see the problem).

Most probably you haven't published your Page yet:
This page can't be seen by the current user. Please check page privacy
and visibility settings.

Related

Graph API 'likes', publish_stream permission, app unapproved

I have a website that does the following:
Retrieve Facebook Page posts from a specific Page.
Display posts on website.
If a visitor is not logged in to Facebook, display a custom 'log in with Facebook' button next to each post. Otherwise display a custom 'thumbs up' button.
By clicking the 'thumbs up' button, the user is able to like the specific Facebook page post with their own Facebook account. Nothing should show on the user's timeline other than the regular posts that Facebook displays whenever a user likes something on Facebook.
I'm using the Graph API likes method (https://developers.facebook.com/docs/graph-api/reference/v2.2/object/likes/) which requires the publish_actions permission.
Everything is working great, users are able to like posts on the Facebook page from the website, and the action shows up in their Activity Log.
The problem is the app is rejected for the following reasons:
Notes from our review team (Web)
The expected story doesn't publish back to Facebook. I've tried with different test users to reproduce the publish_actions, but nothing is publishing. Please check links and resubmit. Also provide a timeline screenshot of the publish story. Thank you.
publish_actions (Web)
We could not reproduce the requested permission. Please submit a timeline screenshot of a successful publish on Facebook, as well as detailed, step-by-step English instructions in the "Add Notes" section of the permission.
See here for additional information on login permission requirements.
I've provided step by step instructions, screenshots of the website as well as a screenshot of the user's Activity Log that shows them liking the post. Still no luck.
I think the problem may be that they are expecting some sort of story to be displayed on the user's timeline, which I don't need or want. I just want to let the user like the post from a Facebook page which DOES work and confirmed by everyone who's tested it on my end.
If anyone can point me in the right direction (I'm unable to provide screenshots or code here, sorry), it would be greatly appreciated. Thanks in advance!

Logging clicks on a particular link

I have a link on my facebook page and I want to generate a log that records which user clicked that link at what time. How can I do this ?
You cannot see which user clicked that link and at what time. That would be a violation of privacy. Facebook Insights are aggregated analytics.
The most you can so it use a link-tracking service such as bit.ly. But that won't tell you anything more than Facebook Insights will.

Login with facebook and storing important user information

The facebook "wave" has finally hit me and I see that it's now time to integrate the wonders of the Facebook API into my site. I'm a little worried about implementing a "Login with Facebook" button because my site stores information about each user, and I'm not sure whether or not the facebook login system will also store said information. Any user who registers to my site has the ability to "like" certain pages that were found while browsing the site, and the categories of each page the user likes is stored and linked to his username.
If the user were to "login with facebook" however, and thus skip my registration page, would the information about categories still be saved?
Even looking at StackOverflow.com, I notice that all of my profile information etc. is being saved, but where? I used the login with facebook button so where exactly is my profile information being saved?
When you login with Facebook your site gets a Facebook ID and some other information (depending on what you ask for, but normally first name, last name, email address). You can then use the Facebook ID or email address to link it to an existing account in your system. If you can't find it, automatically create a new account with the details provided from Facebook.
You can use the Registration Social Plugin that facebook offer in order to get the data you need from the user while they register to your site using their facebook profile.
Also, as #JonGrant wrote, you can just use the api to get the needed information from facebook, just take into consideration that the more permissions you ask for, the less users will authorize your app.
Edit: Plugin now out of date, please refer to Facebook Login.
This was plugin removed as of API version 2.0. It will stop working
on July 30, 2015. Apps using this plugin should migrate to Facebook Login.
Source: facebook docs

Social Plugin only visible when the user is logged in to Facebook. How Do I Make The Fans Show All The Time?

My site is this one and if your not logged into Facebook you won't see the social plugin show all my facebook fans. I'm not sure if the app is setup wrong and I have used html, xfmbl, and Iframe but I get the same results which leads me to believe it might be the app settings.
When I look at it when not logged in, I get a prompt asking me to "login to see this content". This appears to be working as I'd expect it to.

User should view my facebook Wall page, even though they are not logged in?

I have a Website, when user click on ( Follow us on Facebook ) button it should link to my Facebook wall page, example ( http://www.facebook.com/totallydriven )
I have added Username as totallydriven in My Account page,
But when my user clicks on ( follow us on facebook ) button, facebook is asking to log-in to view my wall.
What is the setting I should change.
Some example facebook profile.
Even though you are not log-in to your facebook, you can view their wall.
http://www.facebook.com/HuffingtonPost
http://www.facebook.com/easportsfifa
Try following steps:
Log into your facebook account and go to the page.
Click Edit Page. You will be taken to the Manage Permissions page. Make sure, for Country Restrictions, you have no countries listed. Listing a country here causes non-logged in visitors to be asked to login, rather than seeing your page as you desire.
Remove the countries and click Save Changes at the bottom.
I just figured this out for a page I manage which was doing the exact same thing.
You can control which data you want everyone to use on facebook's Privacy Settings configuration page. Posts by me and Comments on Posts are the two most important settings to allow a public Wall.
There is a preview button to see what everyone sees as well.
It looks like http://www.facebook.com/totallydriven is a Facebook user (hence the button to add as a friend). The others you mentioned http://www.facebook.com/HuffingtonPost and http://www.facebook.com/easportsfifa are Facebook Fan Pages.
Go here http://www.facebook.com/pages/create.php to create a Facebook page that users can "Like" and follow as you have described.
Facebook requires a certain number of LIKES before you are provided a customized facebook URL.
http://www.facebook.com/YOURBIZPAGE