SNAP API Documentation

NextScripts API Objects Description

Message

Default message array:

$message = array(
  'title'=>'', 
  'announce'=>'', 
  'text'=>'', 
  'url'=>'',  
  'surl'=>'', 
  'urlDescr'=>'', 
  'urlTitle'=>'', 
  'imageURL' => array(), 
  'videoCode'=>'', 
  'videoURL'=>'', 
  'siteName'=>'', 
  'tags'=>'', 
  'cats'=>'', 
  'authorName'=>'', 
  'orID'=>''
);

title
announce
text
url
surl
urlDescr
urlTitle
imageURL = URL or array [thumb, medium, large, original] videoCode
videoURL
siteName
tags
cats
authorName
orID

Options

Facebook

$options array

nName
fbURL
pgID
fbAppAuthToken
fbAppPageAuthToken
fbAppID
fbAppSec
attachType – A or S
postType – A or I or T
fbMsgFormat
imgUpl – T or A

Google+

$options array

nName
gpUName
gpPass
gpPageID
gpCommID
postType – A or I or T

Twitter

$options array

nName
twAccToken
twAccTokenSec
twConsKey
twConsSec
attchImg = [false, ‘thumb’, ‘medium’, ‘large’, original’] (Default – large, medium, original, thumb)
twMsgFormat

Blogger

$options array

nName
bgUName
bgPass
bgBlogID
bgInclTags
bgMsgFormat
bgMsgTFormat

DIIGO

$options array

nName
diUName
diPass
diAPIKey
diMsgFormat
diMsgTFormat

Delicious

$options array

nName
dlUName
dlPass
dlMsgFormat
dlMsgTFormat

FriendFeed

$options array

nName
ffUName
ffPass
ffMsgFormat
ffMsgTFormat
grpID
imgToUse

InstaPaper

$options array

nName
ipUName
ipPass
ipMsgFormat
ipMsgTFormat

LinkedIn

$options array

nName
ulName
uPass
grpID
liAPIKey
liAPISec
liOAuthVerifier
liOAuthToken
liOAuthTokenSecret
liAccessToken
liAccessTokenSecret
liAttch
liMsgFormat
liMsgFormatT

liMsgAFrmt – check the LI attach format

© 2012-2016 NextScripts.com