c# - Posting image/video to MySpace using API? -


i working in asp.net 3.5 c# 2008.i have done authentication part & i'm able image urls or videos application. i'm able send messages myspace. post images & videos.

please let me know how can post images/videos application.

here link documentation on using media items api.

http://wiki.developer.myspace.com/index.php?title=opensocial_0.9_mediaitems

it explains how use it.

you need issue post request on following url

http://api.myspace.com/1.0/mediaitems/{personid}/{selector}/@videos  

if image set content-type image/{type} content-type="image/jpg" jpg these formats supported: .jpg, .gif, .bmp, .tiff, .png.

similarly videos use content type content-type=”video/mpeg” these formats supported .avi,.mov,.mpg,.wmv.

for more details please consider checking out above link.

for details on post request or structure check out http://www.jmarshall.com/easy/http/


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -