Error code 368 on post on like - facebook-graph-api

Recently, my application started to generate a new error whenever a customer uses it to like a post/comment. We use the graph API to create and destroy likes:
https://graph.facebook.com/POST_ID/likes
But we get a status 400 with the following body upon a POST:
{"error":{"message":"You've been blocked from using this feature because you may have violated Facebook's Terms. Please review the Community Standards to learn what's acceptable to share on Facebook.\n\nIf you need help, please contact us.","type":"OAuthException","code":368}}
To be honest, it is hard for me to understand what my customers might have done to deserve this and I can't find any obvious way to "contact us". Is there someone who knows what might trigger this kind of error and what I could do to help my customer resume normal operation ?
Mathieu

Related

How do we look up RequestID's thrown in AWS CloudFormation events which status reports CREATE_FAILED?

Without setting up a CloudTrail and executing a CFN template which rolls back, I have started looking at Debugging options. I found this which says we can see the most recent without a created trail.
I tried to find RequestId documentation from here entering 'requested' in the search bar, which returned many unrelated items to my specific case (thanks for the attempt Kendra:).
I also have looked at cli docs here
I guess I fist need to know what a RequestID is capable of helping me trace, as I am doing a simple debug of an instance I already know that has the wrong AMI ID for that region, but am trying. to re-familiarize myself. with fixing CFN templates after being out of the loop for a few years.
I'd like to know how someone else handles a CREATE _FAILED and ways to use the status reason in a verbose way. Each reason appears to be ';' separated, so even just a point in that direction might help weed through the mountain of information here. Thanks ahead of time- Rudy

Retrieve deleted Facebook message

I have searched but it seems that any thread I find picks up from somewhere in the middle of a project.
I want to gain access to a Facebook message that I wrote almost 10 months ago. It was the first contact that I made with my long lost love. I know, it's korny and I should have at least remembered that date.
Can anyone help me get started? I have limited/semi novice skills. I am willing to do the research but I just need a nudge in the right direction. This isn't an assignment, it's rather a challenge to find it and surprise her with it.
I am not sure if it can even be done.
For having messed a lot (too much) with Facebook messaging system, I can tell you won't be able to retrieve a deleted message. Facebook will not return deleted messages with the others and there is no special function for that, sorry I believe that's the intent behind message deletion.

Handling error codes from multiple merchants

I need to make custom error messages based on the error message that I get back from chase/merchant.
The problem is, there's so many merchants/banks that use different error codes.
What's a solution for this? Is there anything more simple than making a database to handle all types of error codes?
Example
Wrong CVV entered
Costco Mastercard returns error code 522
Walmart Mastercard returns error code 702
SELECT ERRORMESSAGE
FROM ERROR_MESSAGE_TABLE
WHERE ERRORCODE = #ERRORCODE
Sorry I guess this is a very broad question looking for ideas instead of just straight answer technical help. Not sure where to ask my question.
One of the principles of SOA is that you never expose the internal of a provider to the consumer. Or in other words you don't tightly couple/bound your service provider and consumers with each other.
If for example Merchant A has an error message 100-wrong pin entered and you expose this error to your consumers/clients they are now tightly bound to merchant A.
If merchant A decides to change the error message (they upgrade their system which will happen) from 100 to BADPIN: Bad pin entered then all your consumers has to change. It is important that you abstract these details away from your clients/consumers. This will shield them from changes on you side.
So yes create a table with the merchant errors codes and your own errors code in and map these to each other. You consumers only have to worry about your codes then.
Hope this makes sense I can demonstrate with an example if you need it.

How to call an exchange 2010 web service to make appointments?

I would like to call an Exchange 2010 web service from a remote client such as an iPhone to book a meeting room / to know if a meeting room is available etc.
Does anyone has an example available please?
Thanks a lot,
I don't know of any easy to follow sample so this is just some information that might help you get started anyway.
This page has a sample for creating an appointment in C#. So I'd say that's part of the answer, the other part is to find out how to use SOAP from your language of choice. This SO question discusses just this.

What would be a good Coldfusion-based bug tracking software?

What I am looking for is a tool that easily or automatically sends coldfusion error messages to their system.
Then I can use the web-based interface, to manage priorities, track who fixed what and so forth.
But I want to use this to help us deal with errors better, but also to show the importance of a bug tracking system to my fellow works.
System Requirements: Apache, Windows, Coldfusion 8 Standard, Sql Server 2005.
Financial Requirements: Free or Open Source
Goal Or Purpose: To encourage my fellow workers to want and use a bug tracking system.
Does this re-write make more sense?
Thanks
Craig
Wiki has a list of issue tracking software, maybe this list could help.
http://en.wikipedia.org/wiki/Comparison_of_issue_tracking_systems
You may be able to find a hosted service and use either email or web services to create the ticket using onError. With that said, a simple issue tracking app could be created for your site using the same DB used to drive the content. 2 or 3 tables would take care of the data storage and you're already using CF so the application layer is already there.
HTH.
I have been heavily using this type of a setup for several years by email only, and the last 3 years with a Bug Tracking Software.
I must say, the bug tracking software has made my life so much more peaceful. Nothing is left, forgotten, or slips through the cracks. It's easy to find trends in errors, and remember "all the times" it happened.
Our setup is like this:
1) Coldfusion + Appropriate framework with error reporting - It doesn't matter what you use. I have used Fusebox extensively and am making the transition to ColdBox. Both are very capable, in addition to Mach-II, FW/1, Model-Glue, etc. The key part you have to find in them is their ability to catch "onError", usualy in the application CFC.
2) Custom OnError Script - Wherever an error occurs, you want to capture the maximum amount of information about that error and email it in. What we do is, when an error occurs, we log the user out with a message of "oops, log in again". Before logging them out, the application captures the error and emails it to Fogbugz. Along with it, at the top we include the CGI variables for the IP address, browser being used, etc. Over time you will find the things you need to add.
3) Routing in Fogbugz. A 2 user version of Fogbugz is free, and hosted online. There are two main ways to submit bugs. One is to email one in at a time. So if an error happens 2000 times, you get 2000 emails, and 2000 cases. Not always the best to link them together, etc. They have a feature called BugzScout, which is essentially an HTTP address that you do a form post to with cfform with all of the same information you would have put into the email. There's plenty of documentation on this and something I've always wanted to get around to. I had a scenario of 2000 emails for the first time happen a few weeks ago so I'll be switching over to this.
Hope that helps. Share what you ended up doing and why so we all can learn too!
I'm surprised no one mentioned LighthousePro (http://lighthousepro.riaforge.org). Open source - 100% free - and ColdFusion. As the author I'm a bit biased though. :)
Hard question to answer not knowing what kind of restrictions are there? Do you have any permissions to install anything? Also most bug-tracking systems require some kind of database support.
I have a suggestion. You can put in place a basic bug-tracking system, that just allows people to create tickets, and allows you/someone else to close it.
More Windows based tools are mentioned here
Good open-source bug tracking / issue tracking sofware for Windows
Any reason why coldfusion specifically?
I really like Fogbugz from the makers of Stack Overflow. For one user it's quite reasonably priced. I enter some bugs manually and have others emailed in.
A lot of bug tracking software will expose SOAP methods for entering data into them.
For example, we used Axosoft's OnTime and that exposed some WSDL pages that I consumed in my application. I was told that Jira did as well.
There are few in CF411 list: Bug Tracking/Defect Tracking/Trouble Ticket/Help Desk Tools Written in CFML
We use HopToad. There is another bug-tracking app called LightHouse that integrates with HopToad so you can easily create a [bug] ticket from an incoming exception. HopToad has an API of which there are many clients, you want the CF based one:
http://github.com/timblair/coldfusion-hoptoad-notifier
Even if you dont use HopToad and you end up using a different service or roll your own, if you needed to write your own API client you could leverage the code or pattern(s) of the above HopToad client.
A lot of good information from everyone, and I really do appreciate the efforts given. But not the answer i was looking for. Which maybe means, that what i want does not exist, yet.
So i may have to roll my own solution...Or maybe integrate with another existing app...
Thank You all.