You should stalk me on:

Facebook Twitter LinkedIn Last.fm Delucious Mediamatic.net Mail

AutoFacebook Joomla! Plugin Documentation
Friday, 27 November 2009 16:16

This is the Documentation for the AutoFacebook plugin:


Features and Change log

v1.0 - First release, features:

- Updates Facebook user status when new article is created or published (configurable).

- Allows publishing extra static text after or before the title.

- Allows adding link to article

 

Installation

Installing the AutoFacebook system plugin is pretty straight forward like most Joomla! plugins:

- Download the plugin zip file (no need to extract since Joomla! installs straight from the zip)

- Navigate to your Joomla! administration page and click "Extensions => Install/Uninstall"

- Browse to the downloaded zip file and click "Upload and Install"

 

Step by step configuration

Installing was easy but we are not quite there yet, a little configuration is needed to connect it to your Facebook account:

- Enter your Joomla! administration page and go to "Extensions => plugins"

- Find System-AutoFacebook on the plugin list and click it.

- On the right side of the page you have a list of parameters that you can set. they are all pretty straight forward and if you hover your mouse over the labels a description pops up. The only ones that are a bit tricky are the three first ones: API key, API secret and User ID. These come from your facebook app and I will guide you trough creating one:

- Go to http://www.facebook.com/developers/createapp.php to create a new application.

- Enter a name for your application in the Application Name field (This could be the name of your site for example it's not relevant for the plugin).

- Accept the Developer Terms of Service, then click Save Changes.

- On the Basic tab, keep all of the defaults.

- Take note of the API Key and API Secret.

- Click the Connect tab. Set Connect URL to the top-level directory of the site where you plan to install AutoFacebook (this is usually your domain, like http://www.example.com).

- (Optional step not relevant for plugin) You can include a logo that appears on the Facebook Connect dialog. Next to Facebook Connect Logo, click Change your Facebook Connect logo and browse to an image file. The logo can be up to 99 pixels wide by 22 pixels tall, and must be in JPG, GIF, or PNG format. (Filename cannot be 'icon')

- Click Save Changes.

- Done... you have your app. Now put the API key and API secret on the plugin configuration.

- Only two more things to do, Find your Facebook User ID and give the plugin posting authorization:

- The User Id is the number that appears on the url of your photo albums, to find it go to your profile, click on your profile picture and the page you end up has a url like http://www.facebook.com/#/album.php?profile=1&id=XXXXXXXXXX where XXXXXXXXXXX is your User ID.

- To give permission to the app to change your status you need to:

- Go to your facebook homepage (login if you are not already logged in)  ------>[Thanks to George Brink and Sammie for this tip]

- Paste the following link into your browser address bar and visit it to give permission to the app to update your status:

Substituting [API KEY] for your API Key and [USER ID] for your user ID


http://www.facebook.com/connect/prompt_permissions.php?api_key=[API KEY]&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=[USER ID]

 

note: if you try to publish a message without having permission you will get an error with this link automatically formated for your account

 

Thats it!! feels like a lot but it's really simple!! :)

ENJOY!!

 

Comments  

 
0 #365 2013-05-01 14:26
Publish an article with pictures in joomla, but only the title of the article on Facebook, the pictures do not appear.
Someone had iff problem?
Quote
 
 
+1 #364 2012-12-22 16:58
Hi,
Do I can to setup this plugin to work with my facebook fan page autopublish, not to publish in my private profile?

Thank you very much, Mak
Quote
 
 
0 #363 2012-12-06 17:28
Quoting rahool:
I am getting error AutoFacebook error - User must have accepted TOS
please help


you could use this

https://www.facebook.com/dialog/oauth?%20%20%20%20%20client_id=[APP_ID]&redirect_uri=http://www.facebook.com/connect/login_success.html?&scope=publish_stream, user_photos&response_type=token

to authorize the aplication
Quote
 
 
0 #362 2012-11-28 10:41
I am getting error AutoFacebook error - User must have accepted TOS
please help
Quote
 
 
0 #361 2012-11-28 05:47
Tengo problemas con la configuracion de la aplicacion en facebook me pide los siguientes parametros App Domains, Hosting URL, Sandbox Mode... si algien sabe como configurar esto de forma correcta le agradeceria que me ayuda :)
Quote
 
 
0 #360 2012-11-28 05:44
hola tengo con la configuración de la aplicación de facebook en App Domains, Hosting URL, Sandbox Mode... y el resto de configuraciones espero ayuda pronto
Quote
 
 
0 #359 2012-11-08 22:20
Since facebook deprecated offline_access and also the way of authorize aplication its necesary to request a new token, that has a small time of life, to do this you use :
https://www.facebook.com/dialog/oauth?%20%20%20%20%20client_id=[APP_ID]&redirect_uri=http://www.facebook.com/connect/login_success.html?&scope=publish_stream, user_photos&response_type=token

this will return a token and allow to publish in the profile, for a while, i still dont know how to make it longer.

Hope it helps anyone.
Quote
 
 
0 #358 2012-09-26 03:05
Quoting Hans:
Also like Kim I got the message about the augustus 2012 stuff. However I am not able anymore to set this off?
How can help me??

Thanks in advance!
Hans


me also please help as this is exactly what i am looking for
Quote
 
 
0 #357 2012-09-20 20:22
Also like Kim I got the message about the augustus 2012 stuff. However I am not able anymore to set this off?
How can help me??

Thanks in advance!
Hans
Quote
 
 
0 #356 2012-08-04 18:02
does not work. anyone knows solution to this problem?
Quote
 
 
0 #355 2012-07-26 13:21
Anyone able to fix the TOS issue?

Error reads as below when attempting to post an article.

AutoFacebook error - User must have accepted TOS

User has already accepted the TOS.
Quote
 
 
0 #354 2012-07-25 17:22
Quoting Kim:
Any update on how to get this to properly work with the new version of Facebook? I get an error however none of the comments before mine solve the issue.

Error message:

ERROR: This endpoint has been deprecated. To temporarily reenable it, you may disable the "august_2012" platform migration. It will be disabled perman


Never-mind I figured it out. Go to the advanced section of the app that you created and disable: August 2012 Breaking Changes. Save and then wait a few moments and then type in the string:

http://www.facebook.com/connect/prompt_permissions.php?api_key=[Key]3&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx &display=popup&ext_perm=publish_stream&enable_profile_ selector=1&profile_selecto r_ids=[xxxxxxxxxxxxxx xxx]
Quote
 
 
0 #353 2012-07-25 17:13
Any update on how to get this to properly work with the new version of Facebook? I get an error however none of the comments before mine solve the issue.

Error message:

ERROR: This endpoint has been deprecated. To temporarily reenable it, you may disable the "august_2012" platform migration. It will be disabled perman
Quote
 
 
+1 #352 2012-07-15 11:56
I am constantly receiving an error with the URL: http://www.facebook.com/connect/prompt_permissions.php?api_key=[API KEY]&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx &display=popup&ext_perm=read_stream,pub lish_stream,off line_access&enable_profile_ selector=1&profile_selecto r_ids=[USER ID]

Can you kindly give it a check?
Quote
 
 
+2 #351 2012-05-30 02:47
Quoting nlkiki:
Quoting sotheayuth:
When i pasted the link:
----------------------------------
www.facebook.com/connect/prompt_permissions.php?api_key=334198576651603&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=100000531401503
----------------------------------------
to give the permission i get the error: ERROR as below:
--------------------
This endpoint has been deprecated. To temporarily reenable it, you may disable the "august_2012" platform migration. It will be disabled permanently on August 1, 2012.
--------------------

So what is the problem?


I have the same problem. Did you find the solutioo ?


Hi nlkiki,

After go through some discussion i figured out solution to the issue. It is caused by the "offline_access".
You have to exclude it from the query string.
Instead of:

www.facebook.com/connect/prompt_permissions.php?api_key=334198576651603&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=100000531401503

should be:

www.facebook.com/connect/prompt_permissions.php?api_key=334198576651603&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream&enable_profile_selector=1&profile_selector_ids=100000531401503

==========================

- 334198576651603 is the [app id]
- 100000531401503 is your [fan page id] or [profile id]

Cheers,
Quote
 
 
0 #350 2012-05-29 17:17
Quoting sotheayuth:
When i pasted the link:
----------------------------------
www.facebook.com/connect/prompt_permissions.php?api_key=334198576651603&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=100000531401503
----------------------------------------
to give the permission i get the error: ERROR as below:
--------------------
This endpoint has been deprecated. To temporarily reenable it, you may disable the "august_2012" platform migration. It will be disabled permanently on August 1, 2012.
--------------------

So what is the problem?


I have the same problem. Did you find the solutioo ?
Quote
 
 
0 #349 2012-05-18 06:18
When i pasted the link:
----------------------------------
www.facebook.com/connect/prompt_permissions.php?api_key=334198576651603&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream,offline_access&enable_profile_selector=1&profile_selector_ids=100000531401503
----------------------------------------
to give the permission i get the error: ERROR as below:
--------------------
This endpoint has been deprecated. To temporarily reenable it, you may disable the "august_2012" platform migration. It will be disabled permanently on August 1, 2012.
--------------------

So what is the problem?
Quote
 
 
0 #348 2012-05-18 05:42
Dear Documentation composer,

'Developer Terms of Service' =>
http://developers.facebook.com/terms.php
=> Page not found
So how can i accept TOS???
Please check your documentation again.

Thanks,
Sotheayuth HEANG
Quote
 
 
0 #347 2012-05-02 02:56
Damn i got same problem that AutoFacebook error - User must have accepted TOS. I did everything that you guys said. but it doesn't effect. Post on your behalf is accepted, Access your data any time is accepted. but It's still showing above problem
Quote
 
 
0 #346 2012-04-12 14:25
I have the same problem.., if I try link it with a page and post i have the error " AutoFacebook error - User must have accepted TOS" I've tried to do a link to a profile id and it's going well... I think that I inserted the right string and I have obtained the permiss.. So i think it shoul be another problem. mmm, any idea?
Quote
 
 
-1 #345 2012-02-27 12:53
I wish to thank you with regards to your website. You've a whole lot of fascinating content so the website is valuable. I'm a university student in Wisconsin and I have got an critical school assignment scheduled this month. I'm really jammed and currently have writers-block currently as I am investigating. Only need person to support
me modify the cost-free article I discovered online elie wiesel’s "night" essay. That report satisfies my specifications yet is written in an unsatisfactory manner and there are syntax blunders. Do you consider I should proceed? I'm simply eager for help, and so any recommendation might be excellent.
Quote
 
 
0 #344 2012-02-15 01:17
@Antonio: Thanks!!!

Dear all, the right link for permission on FB is:

http://www.facebook.com/connect/prompt_permissions.php?api_key=[API KEY]&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx &display=popup&ext_perm=publish_stream&enable_profile_ selector=1&profile_selecto r_ids=[USER ID]
Quote
 
 
0 #343 2012-01-22 10:14
HI SIR
when i try going to the url you give,t to us i get only (Success) not first allow????
then i go try add new article stil i dont have accepted from TOS
any body trying and Success please show me how ..
best regard
Quote
 
 
0 #342 2012-01-10 14:57
Hello,
I using this plugins. Working verry well, but... in my facebook, any post, look :(

I want to modify some details, like title - to be bold; link - i want to be like in my browser (not with 20%word-30%word-20%vord etc)

What is necesarry to modified? in all files? Thank you

PS. www.braila.pro and facebook page is: braila net
Quote
 
 
0 #341 2011-12-25 14:42
How can i post in fan page stream? The configs above is only for user page stream.
Quote
 

Add comment


Security code
Refresh