Hi All,

I tried to publish a video to a facebook page using the fileUrl via
Facebook connector. It returns following error

{
  "error": {
    "message": "(#100) Param content_category must be one of
{BEAUTY_FASHION, BUSINESS, CARS_TRUCKS, COMEDY, CUTE_ANIMALS,
ENTERTAINMENT, FAMILY, FOOD_HEALTH, HOME, LIFESTYLE, MUSIC, NEWS,
POLITICS, SCIENCE, SPORTS, TECHNOLOGY, VIDEO_GAMING, OTHER}",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "F7CZIU6jVK2"
  }

}

When I checked the code it seems that the value of contentCategory is
assigned by fileUrl value. AFAIU that is not correct. I manually changed
that and then tried with the edited connector. Then it works fine.
I've created following JIRA[1] and PR[2]

[1] - https://wso2.org/jira/browse/ESBCONNECT-75
[2] - https://github.com/wso2/esb-connectors/pull/440

Thanks
-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to