How to post website updates to Facebook page - facebook

I run a PHP-coded website with user submitted material and I am looking for a way that anytime new content is added to the site a post appears on my Facebook page (not profile). I used to be able to do this with the secret Facebook posting email but Facebook has quietly killed that feature. How can I do this in PHP?

Related

C# Facebook sdk: posting on page on owner's behalf

I have a page on facebook and i want to get my page access token so that i could use it to post ob my page from a mobile application or web application using the facebook sdk for C#.
I think the whole idea would be:
user will go to my webpage.
user will then login to facebook.
user will be taken back to my page with the his page's access token.
i will save this access token and then use it to post on his page on his behalf.
Right now i am not sure whether these are the right steps or not and if i am right, how can i make a facebook login page where user can use?
EDIT:
I found some answer here: Programatically log in to facebook and post from server side
do i need to create a facebook app for that?

How to post message on facebook page via a user

I have an facebook application in my website. i want to publish a user's profile link and some other stuff to my facebook page automatically. But currently this is being posted via page admin not user. How i can fix it?

How to email a link to a facebook app installed on a business page

When I email a link to my app installed on my Facebook business page, the email recipient does not get redirected to the facebook app unless they are logged into facebook. If the person clicks the emailed link and they are not logged into facebook they get linked to the facebook home page to either log-in or set up an account.
This is the link to my facebook app that I have emailed that most people do not get directed to the app, whereas I do want them to be able to see the facebook app if it's possible even if they are not logged into facebook at the time.
https://www.facebook.com/LuxuryVacationsIncome/app_483454071672592
I have been to technical support of the company that created the app and they could not resolve the issue

Facebook request change according to different login

Will the facebook fetching a tab application differs according to different login?
If I am login as application admin or page admin then facebook fetches the application through POST and if i am login as a normal user, then facebook fetches the page through GET
As I know, Facebook integrate with your app (iframe) with only one method (i.e POST). Everything you put on app URL facebook will post to your iframe.
For example apps.facebook.com/your_app/id/1, Facebook will POST id=1 to your iframe.
However, you can check an user whether is an app/page admin or not by using Open Graph API:
http://developers.facebook.com/docs/reference/api/page/#admins
I think you question somehow relate to this:facebook application API check if user is application admin in facebook
Hope this will helps.

Automatic login to Website when User login to Facebook based on cookie

I'm using the Facebook Graph Toolkit and developing ASP.NET website.
I want to create and design a website that has registration that will use a Facebook account as an alternative to my website login/registration.
I am thinking of just storing the Facebook User ID who has approved the use of the FB app in order to identify the user for next time when he/she logs in to my website using his Facebook account.
Scenario here is:
Any browser, user already logged in to his Facebook account (say browser Tab no.1).
Same browser, Tab no.2, user visits my website (he has already registered to my website using his Facebook account, as I store his Facebook ID).
Upon his visit to my website home page, the top corner will display his account name (this indicates that he has logged in to my website even though he has only logged in to Facebook, but never visited my website and clicked on the Login button).
So my question is, how to achieve the scenario of step no.3?
It's quite easy but you need to do some research first. Research will better help you to understand each and every point.
Go to the Facebook Developers API Reference and do some reading.