I added a new product to my website and it automatically populate into my facebook app using the autofacebook of course... but my problem is in facebook it is showing different price value than what I have listed. Why is this?
Printable View
I added a new product to my website and it automatically populate into my facebook app using the autofacebook of course... but my problem is in facebook it is showing different price value than what I have listed. Why is this?
Are you asking why it shows your SALE PRICE as opposed to your REGULAR PRICE? If that is the question then it is because this mod shows the REGULAR PRICE only.
What I did was remove the pricing code so it only shows the pic and product name on FB.
This will force users to click on it to go to your website to see the price.
So everything is working fine and dandy for me at the moment with autofacebook and autoweet.. What I would like though and i'm no programmer is that when fb automatically updates, it gives us a "like" and "comment" option, but no share. Any idea if this can be programmed in to the code?
First the easy question:
The price you are seeing is the price without TAX or VAT or whatever added.
The mod to the file corrects that. so that if you live in a country where we are not used to seeing TAX added at the sale end you don't give miss-leading prices to customers.
Sorry willie bee it has nothing to do with sales.
This would be edits to the file whatever-admin/includes/modules/update_product.php.
You would be looking for the section that starts
//// INSERT PRODUCT-TYPE-SPECIFIC *UPDATES* HERE //////
///////////////////////////////////////////////////////
//AutoFacebook
in this section look below your:
$app_id = "8888888888888"; //given when you created app
$app_secret = "a5a5a5a5a5a5a5a5a5a5a5a5a5a"; //given when you created app
$page_id = "1234567890987654321"; //obtained from running facebook_authorization.php from your browser
$page_token = "blahblahblahblah"; //long number obtained from facebook_authorization.php
$store_name = "AML Candles"; // store name i.e. "Mary's Car Shop", or "MikesCupcakes.com."
$store_url = 'http://amlcandles.co.uk'; //path to your store without the trailing "/"
$cur = '£'; //change to your currency symbol. Assumes symbol comes in front of numbers
$new_message = "Scented Soy Wax Candles!"; // change to whatever or leave the same. i.e "New Cupcake!"
There is a line that says (ironically)
// No Need to edit below here.
about line number 116: (in my version anyway)
below that you'll see
About line 123: $price = $products_price; //this is what you need to edit first
Add the lines of code you seen in the other post and that sorts the VAT issue for both Auto-Facebook and Auto-Tweet.
If you need to clean up your postings to get rid of the html from your product descriptions you need to edit the line.
around line 119:
There were a few optional line commented out there so just pick the one that looks similar to:
$products_description = strip_tags($products_description);
That cleans things up if you haven't done so already.
:cool::cool:
Think you might find that Facebook would have something to say about an app that auto liked every update you posted.
Have looked at the service offered by http://www.addthis.com/
here it is in place if you've not see it before One of My Candles
Might be what your looking for.
My auto facebook has stopped working. It still says it successfully updated Facebook, but nothing there's no post on Facebook. Any ideas?
I finally got it working. I had to add the info to the files again. It had disappeared.
But I do have one question:
Why does facebook_authorization.php give me the wrong page ID?
My app hasn't changed (app ID 168001189921933)
I know I've entered the correct information in facebook_authorization.php, but when I run it, it gives me the wrong page ID.
When I add new products, the posts appear of the page for hekse.no (page ID 215552908467021), but my app is for the page heksebua (page ID ). I could change the page ID in update_product.php manually, but I don't know what to do about the page token.
Found my page token by using the method described on this page
http://paugay.com/blog/2011/11/get-f...ess_token.html