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 #349 sotheayuth 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 sotheayuth 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 Ochiroo 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
 
 
0 #340 2011-12-25 14:35
Please use:
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]
Use your userid and api key
Note: Only perm is publish_stream. Do not use Offline_access or read_stream. This fix code 100 error.
So this plugin performs great and very functionally
Quote
 
 
0 #339 2011-12-17 15:28
This isn't going to work. Fb changed their authentication now required Oauth 2.0.
Quote
 
 
0 #338 2011-12-12 15:03
How do you think, who this year won the Champions League Cup?
Quote
 
 
0 #337 2011-12-10 18:10
Hi.

I can't do the last step.

It shows me a bad
Quote
 
 
0 #336 2011-12-08 23:02
Hey Dev,

this is not working. I have spent several hours on trying this to function. Unfortunately it does not. Everytime I try to post i get an army of errors, that can not be fixed by your installation tutorial. Please Mark the component as not working nad get it back into development. the approach is great, but actually it does not work.

Greetz
scope
Quote
 
 
0 #335 2011-12-08 18:49
Hi!
I trying this plugin and i followed the documentation. When i create or modify article i get the next error message on the joomla backend:
You have no permission to set the status of this user
To grant permition to the application login to facebook and visit:
http://www.facebook.com/connect/prompt_permissions.php?api_key=***my 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=***my uis***
What is the problem?
thanks, wildbiker
Quote
 
 
0 #334 2011-12-07 22:50
I get following error when i post a new article:

AutoFacebook error - User must have accepted TOS

And when i try to use the 'permission link'
i get:

API Error Code: 100
API Error Description: Invalid parameter
Error Message: When enabling the profile selector, an app may not request permissions that do not apply to all profiles in the selector. Note: You are seeing this message because you are a developer of this application. For regular users, inapplicable permissions are silently ignored.



What to do ??
Quote
 
 
0 #333 2011-12-02 12:51
Hi,

great approach but it doesnt work for me. That shit with apikey etc .. probably not your fault but there has to be another way without that god damn api key ... i working for a company and personally hate facebook, but i have to deal with it and don't want to get deep into it and let them know every shit about me like handy number etc ... so i will not use this probably good plugin as long as i have to deal with face book on that level!
Quote
 
 
0 #332 2011-12-01 16:17
http://developers.facebook.com/terms.php
this page returns error
Page not found
Quote
 
 
+1 #331 2011-11-14 15:14
Hi

Does this work for pages ie I have set up a business page and would like to post details to this page not to the main page or wall

mfg
Quote
 
 
+2 #330 2011-10-20 18:46
I tried your URL and replaced the required stuff, but got this error:



An error occurred with MyAPP. Please try later

API Error Code: 100

API Error Description: Invalid parameter

Error Message: When enabling the profile selector, an app may not request permissions that do not apply to all profiles in the selector. Note: You are seeing this message because you are a developer of this application. For regular users, inapplicable permissions are silently ignored.
Quote
 
 
+1 #329 2011-10-20 18:44
I get this error:
- AutoFacebook error - User must have accepted TOS
Quote
 
 
0 #328 2011-10-14 22:18
Quoting cburgess:
I did that prior to posting the new page. Quoting Stephen Portman:
Quoting cburgess:
When posting an article in the back end of joomla I get this error message:

AutoFacebook error - User must have accepted TOS

How do I correct this?

Look at my post before
Copy and paste the link in your browser, replacing the two areas with the relevant info, and once on that page, youll see an option to click 'allow'



oook...have you tried 'after' posting the new page?
Quote
 
 
0 #327 2011-10-14 22:11
I did that prior to posting the new page. Quoting Stephen Portman:
Quoting cburgess:
When posting an article in the back end of joomla I get this error message:

AutoFacebook error - User must have accepted TOS

How do I correct this?

Look at my post before
Copy and paste the link in your browser, replacing the two areas with the relevant info, and once on that page, youll see an option to click 'allow'
Quote
 
 
0 #326 2011-10-14 21:34
Quoting cburgess:
When posting an article in the back end of joomla I get this error message:

AutoFacebook error - User must have accepted TOS

How do I correct this?

Look at my post before
Copy and paste the link in your browser, replacing the two areas with the relevant info, and once on that page, youll see an option to click 'allow'
Quote
 

Add comment


Security code
Refresh