Android Question Facebook library: I can uload a jpg but not a mp3

grafsoft

Well-Known Member
Licensed User
Hi,
the code looks OK, but I get "Internal server error".

B4X:
For iz=0 To cr.Rowcount-1
     cr.position=iz
     no=cr.GetInt ("no")
     s=Main.photonumber & "_" & no & ".mp3"
     Log (s)
     If File.Exists (Main.outdir,s) Then
       Dim sx As String
       sx=s
       myFiles.Put (sx,"Voice Tag " & no)
     End If
   Next
   Log (myFiles.Size)
   fb.UploadToTimeline(Main.outdir, myFiles)

You see, I check if the file exists. Any idea what is wrong?
 

grafsoft

Well-Known Member
Licensed User
I made a short mp4-film and tried to upload the file. Internal server error. For me it works with jpg, but not with 3gpp and mp4. Has anybody different experiences?
 
Upvote 0

KMatle

Expert
Licensed User
I just browsed the www and found some ressources (f.w. youtube) with that internal server error while uploading some content. Maybe a php memory issue. How large are your files?

Any additional error codes? (logs?)
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
From 10 KB to 3 MB. It seems that the upload takes place, and then I get the error.
Nothing in the log, not even without filter.
 
Upvote 0
Top