How to configure Facebook + Oauth module in drupal 7 - facebook

I am looking for a way to configure Facebook + Oauth module in Drupal 7, as i am working to allow users to log-in into my site using their Facebook user/pass and at the same time i would like to save their Facebook details in my Database. I have been looking for a tutorial or a step by step process to configure these modules.
Please help me. Once i manage to do this, i am going to create article explaining this process.
Thanks in advance.

You are looking for the module http://drupal.org/project/fb
This set of modules turns Drupal into a platform for developing
Facebook Applications. This allows you to embed your content and
features within facebook, or allow facebook users onto your site via
Facebook Connect.
With Drupal for Facebook, you can harness all the power of Drupal in
you Facebook App. If you already have content in Drupal, you can
expose it on Facebook.
Hope this module will full fill all your needs.

I've made several sites with that kind of functionality, and I always end up using the Facebook Oauth module instead of Drupal for Facebook:
http://drupal.org/project/fboauth
The FB OAuth module allows you to integrate Facebook login so much more quickly and easily than Drupal for Facebook. Also, you can map users' fields to Facebook data sources - which probably fits your intended use of their Facebook details.

Related

How to get access token of my business facebook page?

My name is Alaa and i am the IT manager of my company,
We used our facebook app and the facebook PHP SDK to share our articles automatically from the backEnd of our website to our facebook pages.
so we use the facebook graph API to retrieve the Access Token of our pages and use it in the php script.
But from February 13th, the script is not working anymore. I don't know what to do exactly, but looking on the internet, I found that we must use a new API (Marketing API) because we migrate our facebook account from default to business and we must have permissions (publish_pages, manage_pages), i want to inform you that we used the app several years without need to these permissions.
I want to add also that I can't show my business pages anymore in the list of all pages i manage (Personal and Business).
for example when i use facebook graph API to get access token of a page, i can just see my personal pages and not business pages of my company. i hope that you can anyone explain to me why?
I explain all of that on a video please click here to see it : https://www.youtube.com/watch?v=zhDerUakiNk
Thank you very much for your help.
Have you tried restarting your server? That's what fixed it for me.

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/

Autopost to existing Facebook page from Wordpress

I have developed a Wordpress site that is hosted on the client's server. The client does not want to enable SSL on the server, but wants to be able to auto post from WP to an existing FB page. Is this possible? I know there are a couple of awesome plugins but they all require a FB App to be created. The client does not want to do this, they want to use their existing FB page. Me thinks I might be in for some extra coding.
There are a number of APIs available to work with pages:
https://developers.facebook.com/docs/reference/api/page/
I'm not sure exactly what you're looking to do from WP, but there might be a way to do that through the Page API. Note that working with pages requires you to have a page access_token, which you will need to set up.
You can set their facebook page up with this plugin: https://www.facebook.com/networkedblogs. It will allow for blog posts to be automatically posted on a facebook page.

Sharing With Twitter and Facebook Using External Application

I would like to share some text and an image from my web application to a user of my web application's facebook and twitter pages. What is the best approach to do this? So I need to have my user authenticate facebook and twitter and then user the twitter and facebook apis to update? I wasn't sure if they was an easier way...I would prefere a java server or javascript solution.
https://developers.facebook.com/docs/reference/dialogs/feed/ seems to be the right fit for facebook.

php - facebook quick login

I am trying to price up a quote and one thing on there is a facebook 'quick' login on the members area of the site in question. I think it is like open id. Is there any tutorials that anyone know of to accomplish this?
I guess there should be a fair number of tutorials out there:
How to Authenticate Users With Facebook Connect
The Facebook PHP-SDK has a nice example that could be used (with some work) to achieve what you want.
I've written a tutorial about the Registration Plugin (one of the flows) if you are interested.
There are many tutorial which will be helpful in Login with Facebook as well as you can login with multipal sites.
You can use PHP OAuth API: Authorize and access APIs using OAuth
written by Manuel Lemos. It provides built-in support for OAuth servers of Bitbucket, Box.net, Disqus, Dropbox, Eventful, Facebook, Fitbit, Flickr, Foursquare, github, Google, Instagram, LinkedIn, Microsoft, RightSignature, Salesforce, Scoop.it, StockTwits, SurveyMonkey, Tumblr, Twitter, XING and Yahoo.
Also
http://www.9lessons.info/2011/02/login-with-facebook-and-twitter.html
2.http://www.a2zwebhelp.com/login-with-facebook
3.http://runnable.com/UfwdES1fQz9uAAAh/simple-facebook-connect-php-example