Forums / All Other Contributions/Addons / AutoFacebook [Support]

AutoFacebook [Support]

Views: 141,429

Results 641 to 660 of 691
7 Jul 2014, 3:19 PM
#641
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

AutoFacebook [Support]

Rizla:

I know there is no support for this mod but I'm hoping someone can point me in the right direction:

Basically, the product image is too large on my facebook page. Any fix?

I use the module and there was no major changes in fb. If you follow the readme instructions it will lead you to success.
I' ll try to prepare some screenshots of my online autofacebook module to help as much as possible.

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

8 Jul 2014, 8:03 AM
#642
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: AutoFacebook [Support]

Hi
These are two screen shots of the before and now... AFAIK I have not change anything, but ya never know ;)
Can clearly see the software is only showing the middle part of the image (enlarged)

8 Jul 2014, 8:44 AM
#643
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

My mistake. I didn't notice that the Rizla was complaining about the fb posts. Yes that is a facebook change and does not has anything to do with this great module. So nothing to be fixed here :)

The way my autofacebook posts look like are as shown on the photo. Some pictures fit and some don't so i guess that has to do with the resolution of the product picture. Attachment 14256

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

8 Jul 2014, 9:24 AM
#644
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: AutoFacebook [Support]

Thanks for that infogate

Glad to know it's Facebook changes

16 Jul 2014, 2:21 AM
#645
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

I tried to open facebook_authorization.php and got following error.
I have only edit my information in this file so not sure why getting this error.

Status: array (
0 => '',
)

Fatal error: Uncaught CurlException: 60: SSL certificate problem: unable to get local issuer certificate thrown in /home/suppgeek/public_html/facebook_authorization.php on line 600

16 Jul 2014, 6:56 AM
#646
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: AutoFacebook [Support]

That's a server issue. Not sure what's happening but I would contact your hosting company about that. Googling that error message brings up more information with some recommendations. If you are testing this locally, that might well be the problem and you won't have the problem on a live site.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

16 Jul 2014, 2:02 PM
#647
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

jsarwar:

I tried to open facebook_authorization.php and got following error.
I have only edit my information in this file so not sure why getting this error.

Status: array (
0 => '',
)

Fatal error: Uncaught CurlException: 60: SSL certificate problem: unable to get local issuer certificate thrown in /home/suppgeek/public_html/facebook_authorization.php on line 600

There are several reasons. However, the most common reason is server being unable to verify the Certification Authority (CA), who created the certificate.

To solve the issue, please, check with your hosting provider to verify if the local SSL libraries (list of valid Certification Authorities) are up to date.

Have a look here for a possible solution

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

16 Jul 2014, 4:25 PM
#648
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

infogate:

There are several reasons. However, the most common reason is server being unable to verify the Certification Authority (CA), who created the certificate.

To solve the issue, please, check with your hosting provider to verify if the local SSL libraries (list of valid Certification Authorities) are up to date.

Have a look here for a possible solution

Thank you. I have sent hosting message and waiting for update. I have tried curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); and it shows following error message:

"Status: array (
0 => '',
)

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home/suppgeek/public_html/facebook_authorization.php on line 533"

17 Jul 2014, 3:58 PM
#649
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

jsarwar:

Thank you. I have sent hosting message and waiting for update. I have tried curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); and it shows following error message:

"Status: array (
0 => '',
)

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home/suppgeek/public_html/facebook_authorization.php on line 533"

Hosting Company telling me that there is nothing wrong with server. I see you did not select any category when created facebook app but now it is required and I selected "Communication" Is that make difference?

3 Aug 2014, 9:06 PM
#650
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

Figured this out. I have added information to update_product.php and then created a test product. Upon completion it shows
Facebook Error: (#200) The user hasn't authorized the application to perform this action

My app is public. Any idea why I am getting this error?

3 Aug 2014, 10:01 PM
#651
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

delia:

That's a server issue. Not sure what's happening but I would contact your hosting company about that. Googling that error message brings up more information with some recommendations. If you are testing this locally, that might well be the problem and you won't have the problem on a live site.

Resolved but now when I create product it shows message "Facebook Error: (#200) The user hasn't authorized the application to perform this action"
I see in video when app is created, no category is selected but now it is required and for some we have to submit for approval.
Any idea how to get rid of this error message?

4 Aug 2014, 8:28 AM
#652
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

jsarwar:

Resolved but now when I create product it shows message "Facebook Error: (#200) The user hasn't authorized the application to perform this action"
I see in video when app is created, no category is selected but now it is required and for some we have to submit for approval.
Any idea how to get rid of this error message?

I guess you just need to reset the token to your page to make it work again. As menstioned on the well prepared readme file of the application by Jamie Taylor follow this steps to get a new token.

  1. Open up the included facebook_authorization.php file and edit lines 4 and 5 with your App information.
    Note: facebook_authorization.php is a simple file that we're going to upload to our server and run from our browser to authorize our application to do things for us like post to our page's wall. After if gives us certain information it is no longer needed and should be deleted.

So on line 6 where you see: $app_location = "http://yoursite/facebook/facebook_authorization.php"; This is simply the URL to where you plan to upload facebook_authorization.php. I suggest making a temporary folder on your folder called "facebook". However, where ever you plan to upload it, it must be on the same server you specified in Step 1 and make sure you reflect it's location on line 6. Once you're done editing lines 4-6 save and upload it to where ever you specified in your $app_location.

  1. Once uploaded run the file in your browser and you will be taken to facebook's Permission Request prompt to authorize your app. Click "Allow."

  2. You should now see a Success page with your page's ID and Page's Token. We need those for our next step.
    Note: if you see a period (or any other punctuation) at the end of your page's Token consider it part of the token.

  3. Open up the included update_product.php file in the admin/includes/modules folder and edit lines 90 through 97 with your Application Info and the Info given from the last step (Step 9). Note: $store_url needs to be the full url to your store without the trailing ('/'). So it should look like "http://www.mystore.com" or "http://www.mystore.com/store". Alos: lines 96 and 97 can be personallized or just left as they are.

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

4 Aug 2014, 9:33 AM
#653
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

infogate:

I guess you just need to reset the token to your page to make it work again. As menstioned on the well prepared readme file of the application by Jamie Taylor follow this steps to get a new token.

  1. Open up the included facebook_authorization.php file and edit lines 4 and 5 with your App information.
    Note: facebook_authorization.php is a simple file that we're going to upload to our server and run from our browser to authorize our application to do things for us like post to our page's wall. After if gives us certain information it is no longer needed and should be deleted.

So on line 6 where you see: $app_location = "http://yoursite/facebook/facebook_authorization.php"; This is simply the URL to where you plan to upload facebook_authorization.php. I suggest making a temporary folder on your folder called "facebook". However, where ever you plan to upload it, it must be on the same server you specified in Step 1 and make sure you reflect it's location on line 6. Once you're done editing lines 4-6 save and upload it to where ever you specified in your $app_location.

  1. Once uploaded run the file in your browser and you will be taken to facebook's Permission Request prompt to authorize your app. Click "Allow."

  2. You should now see a Success page with your page's ID and Page's Token. We need those for our next step.
    Note: if you see a period (or any other punctuation) at the end of your page's Token consider it part of the token.

  3. Open up the included update_product.php file in the admin/includes/modules folder and edit lines 90 through 97 with your Application Info and the Info given from the last step (Step 9). Note: $store_url needs to be the full url to your store without the trailing ('/'). So it should look like "http://www.mystore.com" or "http://www.mystore.com/store". Alos: lines 96 and 97 can be personallized or just left as they are.

Thank you for info but I have already done all this. I have removed app few times from profile and authorize it again and input new token in update_product file but it is not working. I was reading yesterday and it shows "manage_pages" require facebook approval now and have to submit app for approval. Is that sounds right?

4 Aug 2014, 10:02 AM
#654
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

Sorry to say but it is just a token problem. Try to verify the token you get for your page is right here cause it seems you are missing something on the procedure.

But the errors that you get means you don't provide a confirmed token to the application.

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

4 Aug 2014, 10:14 AM
#655
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

infogate:

Sorry to say but it is just a token problem. Try to verify the token you get for your page is right here cause it seems you are missing something on the procedure.

But the errors that you get means you don't provide a confirmed token to the application.

Thanks.
I tried and this page gave error: Failed to parse URL
I am copying token directly from page loads by domain.com/facebook_authorization.php

for example

[name] => xxxxxxxxxxxxx
[access_token] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[perms] => Array
(
[0] => ADMINISTER
[1] => EDIT_PROFILE
[2] => CREATE_CONTENT
[3] => MODERATE_CONTENT
[4] => CREATE_ADS
[5] => BASIC_ADMIN
)

                [id] => xxxxxxxxxxxxx

I have replaced actual values with xxxxxxxxxxxxx here.

I have also entered same token and id to update_product page with other information. Not sure what I am still missing which causing this error.

4 Aug 2014, 2:58 PM
#656
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

Suggested solutions

  1. Double check that you provide the correct token to application
  2. Double check the following information are corect before run the facebook_authorization.php

//edit with your info
$app_id = "xxxxxxxxxxxxx"; //given when you created app
$app_secret = "YYYYYYYYYYY"; //given when you created app
$site_url = "http://www.yourdomain.com/facebook_authorization.php"; //full path to location of this file.

  1. Double check that you provide correct information to the update_product.php

    //AutoFacebook
    $app_id = "xxxxxxxxxxxx"; //given when you created app
    $app_secret = "YYYYYYYYYYYY"; //given when you created app
    $page_id = "KKKKKKKKKKKKK"; //obtained from running facebook_authorization.php from your browser
    $page_token = "VERY LONG STRING YOU GET FROM facebook_authorization.php"; //long number obtained from facebook_authorization.php

  2. Double check Application ---> Settings ---> Migrations ---> ON

If you follow all the above and try not to mix the information from page_id and page_token with other pages you might created in facebook everything will work perfect.

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

5 Aug 2014, 12:21 AM
#657
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

infogate:

Suggested solutions

  1. Double check that you provide the correct token to application
  2. Double check the following information are corect before run the facebook_authorization.php

//edit with your info
$app_id = "xxxxxxxxxxxxx"; //given when you created app
$app_secret = "YYYYYYYYYYY"; //given when you created app
$site_url = "http://www.yourdomain.com/facebook_authorization.php"; //full path to location of this file.

  1. Double check that you provide correct information to the update_product.php

//AutoFacebook
$app_id = "xxxxxxxxxxxx"; //given when you created app
$app_secret = "YYYYYYYYYYYY"; //given when you created app
$page_id = "KKKKKKKKKKKKK"; //obtained from running facebook_authorization.php from your browser
$page_token = "VERY LONG STRING YOU GET FROM facebook_authorization.php"; //long number obtained from facebook_authorization.php

  1. Double check Application ---> Settings ---> Migrations ---> ON

If you follow all the above and try not to mix the information from page_id and page_token with other pages you might created in facebook everything will work perfect.

Checked again and everything looks correct but issue still exist.

The only two reasons I can think of are:

In demo video when author created FB app it did not ask him to select category which is required now.

When I open facebook_authorization file first time to authorize app it shows on top "manage_pages" feature not available as it require approval. But later on it shows app will control "Manage pages"

So I think issue is probably here.

5 Aug 2014, 8:35 AM
#658
infogate avatar

infogate

New Zenner

Join Date:
Jun 2009
Location:
Thessaloniki, Greece
Posts:
41
Plugin Contributions:
0

Re: AutoFacebook [Support]

OK. I am totally sure that you are missing a step there to authorize your application.

  • manage_pages (or manage_groups) - This is what verifies you are a manager of a page/group and are allowed to post to it
  • publish_actions - This is what allows the app (your site) to post on your behalf

The last thing to propose is to

  1. Remove the application you created
  2. Create a new one and
  3. Follow all the steps from the begining as it apears to this video tutorial

My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!

4 Sep 2014, 12:57 AM
#659
madpricersales avatar

madpricersales

New Zenner

Join Date:
Jul 2006
Posts:
60
Plugin Contributions:
0

Re: AutoFacebook [Support]

This is the error I am getting even tho I authorized the app to access facebook

Attachment 14491

any help is appreciated. Thanks

4 Sep 2014, 1:00 AM
#660
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: AutoFacebook [Support]

MadPricerSales:

This is the error I am getting even tho I authorized the app to access facebook

Attachment 14491

any help is appreciated. Thanks

This is exact same error I have been getting but have not find solution even I have tried making new app and using new data but still getting same error. Please let me know if you find a solution.