Integrating facebook connect (graph api)in cakephp - facebook

How I can integrate facebook graph api in cakephp for facebook login.

You wrote:
for facebook login
so, if you would do login to your page with facebook, probably you should use taht official JS libs: https://github.com/facebook/connect-js . With that, you could achieve facebook user id-number, so you could use it in DB as unique key which represent user.

Take a look at Nick Baker's fabulous CakePHP Facebook Plugin.

Related

How to post on friend's wall using facebook API without logging in to facebook?

After latest Facebook API changes, is there any way to post on friend's wall, using authenticated access_token?
I have tried using Feed Dialog, but redirects to facebook login page. I want to bypass the login step.
Unfortunately not. From the Facebook API documentation on publishing:
"Note: If you are posting to a friend's timeline or wall, you must use the Feed Dialog."
Full details: https://developers.facebook.com/docs/reference/api/publishing/
No,You Cant
Currently, Facebook allows to post by two ways:
Using FacebookAPI
Using Facebook SDK (depends on your requirement)
And in both these methods its must that you should be an authorised user to perform the action, authentication is a must.So you can't do this without a login.
NB: As per the Facebook Developer docs, graph API no longer works .(But I would like to add on that many of the iOS apps which used this service are still functioning well). So, I prefer to use Facebook SDK.
Hope my answer is clear.

How to post in facebook fanpage automatically from my website?

How to post in facebook fanpage automatically from my website ?
for example when i update new post in my website and i need to post in facebook fan page automatically....
I believe Facebook offers a certain number of APIs which would allow you to integrate Facebook into your own website to some degree; you can always try their dev centre.As far as I know, however, you can only post to Facebook through social networks like Twitter (see: linking a Twitter account to Facebook), or through Facebook apps you've developed yourself.
You need to create facebook app and use the app secret key and and API key in facebook SDK
script for automatic posting. for more details click the following link. I think this may help you. http://www.damnsemicolon.com/php/auto-post-facebook-with-facebook-sdk

Adding an administrator to a Facebook page using the Graph API

How do I add an administrator to a Facebook page using the Graph API?
You can't, you have to use the Facebook Developer site.

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.

How I can post my Facebook comments to my Drupal Site?

How I can post my Facebook comments to my Drupal Site?
Use facebooks comment plugin.
I am assuming you already have a facebook connect or something setup. Here's more info:
http://developers.facebook.com/docs/reference/plugins/comments
-Roozbeh
You can use the Drupal Facebook Comments Social Plugin module to do this. It integrates with Facebook's Comments plugin. It's fairly straightforward to setup but here's a tutorial to integrating Drupal with Facebook comments using that module if you want a walkthrough.