Facebook webservice: content access denied

Thanh Trung Dinh dinhthanhtrung1996 at gmail.com
Wed May 23 21:39:16 BST 2018


Gilles,

So I followed the link you give above and when I push the new local branch,
there's an error "* fatal: remote error: service not enabled: /digikam.git
". *So I don't know if it's me that made an error or it's something that
was not enabled yet in digiKame git server?

On Wed, May 23, 2018 at 9:50 AM, Gilles Caulier <caulier.gilles at gmail.com>
wrote:

> See this link to an older GSoC event where i write some guidance about
> basis git operations to do by students :
>
> https://community.kde.org/Digikam/GSoC2014#Branches_
> Creation_and_Maintenance
>
> Gilles
>
> 2018-05-23 8:58 GMT+02:00 Thanh Trung Dinh <dinhthanhtrung1996 at gmail.com>:
>
>> @Maik, it's good to hear that my code worked. Thank you for your help. I
>> will test this evening and do the app review for Facebook.
>>
>> @Gilles, no I didn't. I still do git stash each time, but it's quite
>> annoying and not a permanent way to commit. I'll do it this evening.
>>
>> On Tue, May 22, 2018 at 11:46 PM, Gilles Caulier <
>> caulier.gilles at gmail.com> wrote:
>>
>>> Thanh,
>>>
>>> Did you create a development branch in git repository for your project.
>>>
>>> I recommend to commit step by step your progress, this will be used
>>> later to make the final report to Google.
>>>
>>> Currently, we have these branches in git repository :
>>>
>>> [gilles at localhost core]$ pwd
>>> /mnt/data/6.x/core
>>>
>>> [gilles at localhost core]$ git branch -a
>>> * master
>>>  remotes/origin/HEAD -> origin/master
>>>  remotes/origin/development/0.10
>>>  remotes/origin/development/0.8
>>>  remotes/origin/development/0.8.x
>>>  remotes/origin/development/0.9.x
>>>  remotes/origin/development/1.2
>>>  remotes/origin/development/1.3
>>>  remotes/origin/development/3.0.0
>>>  remotes/origin/development/6.0.0
>>>  remotes/origin/development/balooport
>>>  remotes/origin/development/bug309058
>>>  remotes/origin/development/cmakecleanup
>>>  remotes/origin/development/externaltools
>>>  remotes/origin/development/frameworks
>>>  remotes/origin/development/garbagecollection
>>>  remotes/origin/development/hupnp
>>>  remotes/origin/development/imagemetadatacache
>>>  remotes/origin/development/kde3
>>>  remotes/origin/development/photolayoutseditor
>>>  remotes/origin/development/sql2.0
>>>  remotes/origin/development/usbimport
>>>  remotes/origin/gsoc11-clone
>>>  remotes/origin/gsoc11-presentation
>>>  remotes/origin/gsoc13-editorcanvas
>>>  remotes/origin/gsoc13-imgqsort
>>>  remotes/origin/gsoc13-localadj
>>>  remotes/origin/gsoc13-tagmngr
>>>  remotes/origin/gsoc13-thumbbar-mv
>>>  remotes/origin/gsoc13-videow
>>>  remotes/origin/gsoc14-greyc
>>>  remotes/origin/gsoc14-kipibqm
>>>  remotes/origin/gsoc14-qaccess
>>>  remotes/origin/gsoc15-advmetadata
>>>  remotes/origin/gsoc15-kio-drop
>>>  remotes/origin/gsoc16-mysql
>>>  remotes/origin/gsoc16-red-eye
>>>  remotes/origin/gsoc17-db-sep
>>>  remotes/origin/gsoc17-dlna
>>>  remotes/origin/gsoc17-face-mngmnt
>>>  remotes/origin/gsoc17-healing
>>>  remotes/origin/master
>>> [gilles at localhost core]$
>>>
>>> You will need to create a branch named "remotes/origin/gsoc18-exportt
>>> ools-o2"
>>>
>>> Best
>>>
>>>
>>> 2018-05-22 19:56 GMT+02:00 Maik Qualmann <metzpinguin at gmail.com>:
>>>
>>>> Hi Thanh,
>>>>
>>>> first of all the good news your code works. The bad news, Facebook has
>>>> disabled digiKam because it has not been reviewed yet. But we need to
>>>> show a
>>>> finished uploader first. I have under
>>>>
>>>> https://developers.facebook.com
>>>>
>>>> put digiKam back into developer mode. You can find the test user under
>>>> Roles,
>>>> only with these you can work. For example, "Dick Albfbdhiehefa
>>>> Dingleson" You
>>>> can log in as this user and now start digiKam, this user should now
>>>> appear in
>>>> digiKam.
>>>>
>>>> Maik
>>>>
>>>> Am Montag, 21. Mai 2018, 17:14:44 CEST schrieb Thanh Trung Dinh:
>>>> > Hi everyone,
>>>> >
>>>> > I'm trying to port some web services in digiKam export tool to OAuth2
>>>> with
>>>> > O2 library for qt.
>>>> >
>>>> > Testing new codes for Facebook, I got stuck with this error
>>>> > QNetworkReply::NetworkError(ContentAccessDenied) when trying to post
>>>> photos
>>>> > on Facebook or create new albums. However, I can still login, load
>>>> existant
>>>> > album, except posting something with POST request (using
>>>> QNetworkRequest).
>>>> > This error is quite strange because the codes do require user
>>>> permission for
>>>> > user_photo, publish_pages and manage_pages as instruction in Facebook
>>>> Graph
>>>> > API documentation, so I don't understand why QNetworkReply reports
>>>> Content
>>>> > Access Denied error.
>>>> >
>>>> > So, does someone have any suggestions, ideas or guidance for this
>>>> case? I
>>>> > really appreciate any help.
>>>> >
>>>> > Thanks a lot,
>>>> > Thanh-Trung Dinh
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Sent from: http://digikam.1695700.n4.nabb
>>>> le.com/digikam-devel-f1695701.html
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Mr. Thanh-Trung Dinh
>> Université de Technologie de Compiègne (UTC) - France
>> Tel: +33 7 53 68 20 29
>>
>
>


-- 
Mr. Thanh-Trung Dinh
Université de Technologie de Compiègne (UTC) - France
Tel: +33 7 53 68 20 29
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20180523/2d666f5c/attachment.html>


More information about the Digikam-devel mailing list