Hi Malaka,

I checked and merged.

Thanks

On Wed, Dec 9, 2015 at 5:44 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Shakila,
>
> Please check this.
>
> On Wed, Dec 9, 2015 at 4:02 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> 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
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 768 856837
shak...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to