How can i create social reader application in facebook? - facebook

i want to create social reader facebook application something like as washington post social reader. but i have no idea about its login and how it work. i have one site which contain daily news updates. so i want social reader application, so if user read ant news from my site then it publish on facebook timeline.
Thank you in advance.

first you need to create a facebook application:
http://developers.facebook.com/docs/guides/canvas/
http://developers.facebook.com/docs/appsonfacebook/tutorial/
Canvas applications are basicly iframe pages. Mean the main page is hosted in your own website.
then you should read: https://developers.facebook.com/docs/opengraph/keyconcepts/ to learn what is action and how to use it.
I suggest you to find a facebook api to handle most of the auth. and background stuff.
You need to create a web page for your content and ask for necessary permissions (like publish_stream, publish_actions, email etc) and after that step you can post "x reads y" type actions to users wall.

Related

Post content to Facebook Business Page - Timeline from external website?

Could somebody please provide a detailed step-by-step example on how to do the following?
I need to be able to post new content from our website directly to our Facebook Business Page - Timeline as the owner/administrator or via our Facebook App.
We have an extranet which supports multiple sites/domains, but would like the content from these various sites published automatically to our central Facebook Business page whenever we had content to our own sites.
We have like buttons on our pages, that allows users to like and post to their own walls, but we want to publish to our own business wall.
Is this possible?
Create an RSS-feed containing the posts you would like to share on your Facebook page.
Go to your Facebook page and use the top search box to search for 'RSS Graffiti'.
Follow the onscreen steps and you're done.

Facebook connect and share application for website (like 9gag)

I'm creating a website where users can make reservations on certain restaurants, I want the whole page to be integrated with Facebook since you log in. And when the user makes a reservation Facebook will automatically post the reservation on the users Facebook so other may see it in their home page (just like an activity of 9gag).
Any help please!! I'm a programmer but it's the first time I try to integrate Facebook.
If you start with Facebook, this is where you should go:
https://developers.facebook.com/docs/
For login:
https://developers.facebook.com/docs/concepts/login/
Also read the terms and conditions of facebook, there are some important rules for apps.

Code for inviting friends

I need a code for inviting friends to a fanpage.
http://developers.facebook.com/docs/reference/dialogs/requests/
This is linking to the website. Is it possible to link to my fb fanpage?
Actually if you read the whole documents, that Request feature is for Facebook Application only. But here's a work around :
Create a Facebook Application
Have a great content where everyone wants to have
Put a Like Gate before they can access your great content
You can still use the App Request for your app while the user likes your page

How to create a Facebook fan page for a website in an automated way?

We are working on a CMS application development. In that case, we need to integrate a feature, that is enabled for user to create a facebook fan page in an automated way for their product/service. But we realized that it's not allowed by any of facebook developer APIs.
So, What we just need is to automation of fan page creation part in a programmatic way. Is that possible to do??
Thanks!
You cannot create a new Facebook Page via the API - for example, if your client had a company called SomeCompany, they could not use your app to generate a Product/Service Page at www.facebook.com/SomeCompany for users to Like. Your alternatives are:
1) Use your app to generate Open Graph tags and Like buttons for the company's web site (external to Facebook).
2) Instruct the client on how to create a page manually by visiting Facebook.com while logged into their Facebook account.
3) Request the manage_pages permission from your client in your app, and use the Marketing API to edit the page after the client has created it. You can edit most fields on the page (even things like the profile picture) once the page exists. For more information, see here: https://developers.facebook.com/docs/reference/api/page/

Implementing comments and notifications using Facebook plugins

I have a reviews website where I want to integrate Facebook social plugins. I initially thought of integrating facebook comment plugin where users can write their reviews for the products I have listed on my site. But that seemed like laying waste to my own review functionality.
Here's the flow I came up with:
create a facebook app for the website
Users write a review and post it to their facebook profile
When some action happens on the review like when it is voted up or replied to, the user who posted the review to facebook gets notified via the facebook notification center
I fetch the likes, replies on facebook post and display them on my website on the review
Is it possible to implement this workflow? I basically want to send notifications to user from inside my website not from the facebook application I created.
This is possible using apprequests. One requirement for this to work is your website and facebook canvas app must be registered under the same 'app' (ie have the same appID) and be under the same base domain.