Problems w/ Graph API - facebook-graph-api

This is my first post here, so forgive me for stupid questioning or describing my problem not „the programmer's way“. :-)
I've added Facebook comments to my Wordpress blog. Now, I posted a test comment with another Facebook profile than the one I used to create the app.
Voila, the comment appeared on the Graph API of that site. Worked well.
I deleted the comment, but it seems as it's still visible in the Graph API of the site.
Is there any cache for deleted comments!? How can I fix that?
It's important for me to know, because I think of a contest. Users have to add captions to pictures via the Facebook commentbox.
It doesn't give me any benefit, if comments that have been deleted will remain in the Graph API.
Any solution for it? What else do you need to know what I'm talking about? :-)
Cheers,
Axel

You can't delete comments, that's a bit bad documented. All you can do is hide it from other users. Every fb user that is a friend of the user that posted that 'deleted' comment can see the comment as well as the user himself too (in the actual fb comments box).
Furthermore it will exist forever in the graph api! That's facebooks way of pushing freedom of expression!
Anyway if you delete content it doesn't sound like a fair contest to people, as they might feel objected, also not everyone will have the same chances then. A system where you can properly approve 'comments/captiions' would make way more sense. See Diskus for example.
If you wanna have the facebook comments social advertising boost though you could write all comments from the graph api into a database and then approve them manually. Another way would be just to tell users to subscribe/like your facebook page to see who's winning or to be able to win at all. Good luck

Related

Facebook Share showing incorrect info when the debugger is correct

First post on StackOverflow, so please forgive any protocol lapses!
I've found similar problems to the one below elsewhere on SO, but none that's an exact match, nor a solution that hits the spot.
I have a client site with FB Share and Like buttons, all of which work perfectly on straightforward named pages. In the case of the shop and blog pages I need to use a querystring, which works perfectly on other sites, but not this one! I've run the FB Debugger on the affected pages and all looks hunky dory.
Here are two example pages with the problem:
http://www.fabniki.com/productdetail?pid=251 and http://www.fabniki.com/blogdetail?id=327&p=1.
In the case of the shop item, the text Facebook is showing isn't even on the page. I've tried clearing cache, forcing an FB cache refresh etc.
My own site uses a similar querystring system for my blog, and this works absolutely fine with Facebook shares and likes.
I'd be very grateful for any suggestions!
OK, the problem was - unsurprisingly - entirely of my own making. I'd allowed myself to get bogged down in the debugger, which looks at the exact URL you paste into its input field. If you're sufficiently idiotic, it may not occur to you to check if this is the actual value being passed to FB by your Like and Share buttons. Doh!
Thanks to some excellent support from FB developers, the problem was spotted and corrected with only minor dents to my ego.
I wanted to answer my own question, a) to avoid wasting people's time and b) to give Facebook Support a bit of appreciation for a change!

OpenCart - Private Email about Product

I'm new to OpenCart and not entirely sure if I can explain what I'm looking for in a way that makes sense.
Customer goes to a product page and is interested in a product but wants to talk to admin/seller about the specific product. I don't think a "questions" tab would be good because everyone can see that and that's not quite what I have in mind (thought might be depending on how it goes when we finally open our site). Something that would notify admin about a question submitted about a particular product.
I would search the OpenCart Extensions, but I'm not sure what this would be called.
Any and all help would be appreciated!
Ask a Question V.3 - some design modification, and your ready to go.

How configure facebook app?

I'm not a very advanced user. Find Facebooks instructions very difficult or downright impossible.
I'm trying to make use of a plug-in with jQuery: http://ironlasso.com/jqueryfacebookwall-plugin/
The result can be viewed here: http://stella-polaris.nu/fb3.php
My problems are three:
The "Like" links (translated to "Gilla") are dead.
When writing something in the comment boxes and hitting Enter, nothing happens.
The word "undefined" in the sentence "undefined gillar det här" should be replaced with the number of Likes the post has. You might want to compare with the user's FB-page which I cannot link to (new and haven't enough "repuation" here). The username is "StellaPolarisKarlstad".
As far as I understand, the plug-in is OK and I have entered all relevant info to make it connect to the FB account and the app I have created. But I have obviously missed something when I made the app and have no idea what so ever what that might be.
Any suggestions?
Cheers,
Dan

Updating objects previously created through Graph API

I've searched high and low for an answer to this question, but it doesn't seem to be possible. Which I can almost not believe :)
I am building a Facebook integration for my website, and I am creating links through the Graph API. So far, so good. However, when it came to updating stuff, I got stuck; when my content is updated, I want to somehow update the Facebook data too, but I can't figure out how to do this. There doesn't seem to be anything in the documentation about this; I can create new items, such as links and events, I can delete them programatically, but I can't update them. I've tried doing a POST against the object URL (for example, I created a link using https://graph.facebook.com//links, I got back the ID 123456 for my new link, and I then try to update it by POSTing to https://graph.facebook.com/123456). This was just a guess, and it didn't work.
Am I missing something? Doesn't Facebook like updating the objects I created through Graph API? Thanks for any insight you might provide.
It turns out I was on the right track; POSTing to the object itself is the right way to go (the question I linked to in my comment was a big help). I was simply having issues storing the original ID, which meant I was POSTing to an entirely different ID. The lack of documentation from Facebook throws you off and stops you from digging deeper.

Facebook comments box: Possibility to really set num_posts = 0?

I'm using the comments box on my site to get more users socially involved and at the same time I'm reading the Graph API to print those comments on the same site to make it crawlable for search engines. Problem is now that for a real user the comments show up twice (through my graph api print AND through the actual fb:comments plugin box).
Any ideas how I could solve this ?
Would prefer to show only the comment-field from FB and use my own echo to show the comments as this way enables it to REALLY moderate the comments (not just set it to limited visibility). Thanks for any suggestion!
I found some sort of solution for my problem. It's not perfect, but the closest one can get to what I wanted:
Instead of directly returning the query from the Graph API, I attached a script to the comment.create event. This script writes the new comment into my database, where I can moderate again. This way I have to double-moderate, but therefore I don't have any unwanted comments on my site.
I also found out that with the old deprecated comment-box you can set the comments that get natively shown by facebook to 0. That way only the already moderated comments get shown by my own script coupled with my database. It works the way I want it, even for friends of the unwanted commenter.
Hope that helps someone else too!