View Single Post
  #10 (permalink)  
Old October 26th, 2010, 05:23 PM
nir987 nir987 is offline
Authorized User
Points: 221, Level: 4
Points: 221, Level: 4 Points: 221, Level: 4 Points: 221, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2010
Posts: 55
Thanks: 9
Thanked 0 Times in 0 Posts
Default

ok look
this is my vb script
PHP Code:
                attachment.caption "bla bla bla"
                
attachment.name "blaa blaa blaa"
                
attachment.href "http://apps.facebook.com/hottttttt/"
                
attachment.description "blalala"
                
attachment.properties = New attachment_property() With _
                 
.category = New attachment_category() With _
                  
.href "http://apps.facebook.com/hottttttt/"_
                  
.text "blaaaa" _
                 
}, _
                 
.ratings "5 stars" _
                
}
                
attachment.media = New List(Of attachment_media)()
                
With New attachment_media_image
                    
.type attachment_media_type.image
                    
.src "http://photos-g.ak.fbcdn.net/photos-ak-snc1/v27562/114/161882717169966/app_1_161882717169966_5963.gif"
                    
.href "http://apps.facebook.com/hottttttt/"
                
End With 
now i found an article that it need to in json encoded like this
http://developers.facebook.com/docs/guides/attachments

i need to replace my vb code with json code