my_user_id causing trouble

0 views
Skip to first unread message

Nick

unread,
Dec 24, 2009, 5:29:32 AM12/24/09
to Scribd Platform Talk
Hi all,
I'm using the docs.upload method of the Scribd API through a cURL PHP
document and it works fine--unless I add the my_user_id option. Then,
it will give me the document ID and the key as usual, but simply does
not upload. All is well when I do not include this variable. I tried
ditching the cURL PHP document and using a traditional form approach,
but the problem persists. Where could I have gone wrong?

Mike Watts

unread,
Dec 24, 2009, 3:12:39 PM12/24/09
to scribd-platfo...@googlegroups.com
How have you determined that the file does not upload? If you visit
http://www.scribd.com/doc/{doc_id} does it exist? If you're making
subsequent API calls, you will need to include the my_user_id where
appropriate. For instance, if you call docs.getList, include the
my_user_id parameter. Alternatively, you could include
use_api_account=true to see documents uploaded to all my_user_ids
associated with your API account.

Hope that helps,
--Watts

> --
>
> You received this message because you are subscribed to the Google Groups "Scribd Platform Talk" group.
> To post to this group, send email to scribd-platfo...@googlegroups.com.
> To unsubscribe from this group, send email to scribd-platform-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/scribd-platform-developers?hl=en.
>
>
>

--
Mike Watts
mwa...@scribd.com

Reply all
Reply to author
Forward
0 new messages