Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> C:\data\users\cveira\home\projects\SMSF\GitHub\profiles\master\home\SC2013
- >> SMSC [1] > Get-FBPost -Connection $connections.Facebook.connection
- DEBUG: 1+ >>>> Get-FBPost -Connection $connections.Facebook.connection
- DEBUG: ! CALL function '<ScriptBlock>'
- DEBUG: 1874+ >>>> {
- DEBUG: ! CALL function 'Get-FBPost<Process>' (defined in file 'C:\Users\Carlos\Documents\WindowsPowerShell\Modules\Facebook\Facebook.ps1')
- DEBUG: 1875+ >>>> Write-Debug "Get-FBPost: id $Id"
- DEBUG: 1877+ >>>> Set-StrictMode -Version 2.0
- DEBUG: 1880+ >>>> $retval = Get-FBAssociation -Id $Id -Fields $Fields -Type "Posts" -TypeName "Post" -Connection $Connection
- DEBUG: 1658+ >>>> {
- DEBUG: ! CALL function 'Get-FBAssociation<Process>' (defined in file 'C:\Users\Carlos\Documents\WindowsPowerShell\Modules\Facebook\Facebook.ps1')
- DEBUG: 1659+ >>>> Write-Debug "Get-FBAssociation: type $Type id $Id"
- DEBUG: 1661+ >>>> Set-StrictMode -Version 2.0
- DEBUG: 1664+ >>>> $query = "$Id/$Type"
- DEBUG: ! SET $query = 'me/Posts'.
- DEBUG: 1665+ if ( >>>> $Fields -ne $null)
- DEBUG: 1672+ >>>> $query = $query + "?limit=1000" # TODO Limit mechanism
- DEBUG: ! SET $query = 'me/Posts?limit=1000'.
- DEBUG: 1674+ >>>> $raw = Get-FBRawData -Query $query -Connection $Connection
- DEBUG: 1287+ >>>> {
- DEBUG: ! CALL function 'Get-FBRawData' (defined in file 'C:\Users\Carlos\Documents\WindowsPowerShell\Modules\Facebook\Facebook.ps1')
- DEBUG: 1293+ >>>> Write-Debug "Get-FBRawData: query $Query"
- DEBUG: 1295+ >>>> Set-StrictMode -Version 2.0
- DEBUG: 1300+ if ( >>>> -not $Connection)
- DEBUG: 1304+ >>>> $result = $Connection.Get($Query)
- DEBUG: 1308+ >>>> $e = $_.Exception.InnerException
- DEBUG: ! SET $e = 'Facebook.WebExceptionWrapper: The remote server returned an...'.
- DEBUG: 1309+ if ( >>>> $null -eq $e)
- DEBUG: 1313+ >>>> $useErrorId = "RawData"
- DEBUG: ! SET $useErrorId = 'RawData'.
- DEBUG: 1314+ >>>> $useCategory = "ReadError"
- DEBUG: ! SET $useCategory = 'ReadError'.
- DEBUG: 1315+ if ( >>>> $e -is [Facebook.FacebookOAuthException])
- DEBUG: 1321+ elseif ( >>>> $e -is [Facebook.FacebookApiLimitException])
- DEBUG: 1325+ elseif ( >>>> $e -is [Facebook.FacebookApiException])
- DEBUG: 1329+ >>>> Write-Error -Exception $e -ErrorId $useErrorId -Category $useCategory
- DEBUG: 19+ if ( & >>>> { Set-StrictMode -Version 1; $_.PSMessageDetails } ) {
- DEBUG: ! CALL function '<ScriptBlock>'
- DEBUG: 19+ if ( & { >>>> Set-StrictMode -Version 1; $_.PSMessageDetails } ) {
- DEBUG: 19+ if ( & { Set-StrictMode -Version 1; >>>> $_.PSMessageDetails } ) {
- DEBUG: 1+ & >>>> { Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails }
- DEBUG: ! CALL function '<ScriptBlock>'
- DEBUG: 1+ & { >>>> Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails }
- DEBUG: 1+ & { Set-StrictMode -Version 1; >>>> $this.Exception.InnerException.PSMessageDetails }
- DEBUG: 1+ & { Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails >>>> }
- DEBUG: 19+ if ( & { Set-StrictMode -Version 1; $_.PSMessageDetails >>>> } ) {
- DEBUG: 26+ $errorCategoryMsg = & >>>> { Set-StrictMode -Version 1; $_.ErrorCategory_Message }
- DEBUG: ! CALL function '<ScriptBlock>'
- DEBUG: 26+ $errorCategoryMsg = & { >>>> Set-StrictMode -Version 1; $_.ErrorCategory_Message }
- DEBUG: 26+ $errorCategoryMsg = & { Set-StrictMode -Version 1; >>>> $_.ErrorCategory_Message }
- DEBUG: 26+ $errorCategoryMsg = & { Set-StrictMode -Version 1; $_.ErrorCategory_Message >>>> }
- DEBUG: 42+ $originInfo = & >>>> { Set-StrictMode -Version 1; $_.OriginInfo }
- DEBUG: ! CALL function '<ScriptBlock>'
- DEBUG: 42+ $originInfo = & { >>>> Set-StrictMode -Version 1; $_.OriginInfo }
- DEBUG: 42+ $originInfo = & { Set-StrictMode -Version 1; >>>> $_.OriginInfo }
- DEBUG: 42+ $originInfo = & { Set-StrictMode -Version 1; $_.OriginInfo >>>> }
- Get-FBRawData : The remote server returned an error: (500) Internal Server Error.
- At C:\Users\Carlos\Documents\WindowsPowerShell\Modules\Facebook\Facebook.ps1:1674 char:16
- + $raw = Get-FBRawData -Query $query -Connection $Connection
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : ReadError: (:) [Write-Error], WebExceptionWrapper
- + FullyQualifiedErrorId : RawData,Get-FBRawData
- DEBUG: 1336+ >>>> }
- DEBUG: ! SET $raw = ''.
- DEBUG: 1675+ >>>> Convert-FBJSON $raw | MarkWithType $TypeName
- DEBUG: 1357+ >>>> {
- DEBUG: ! CALL function 'Convert-FBJSON' (defined in file 'C:\Users\Carlos\Documents\WindowsPowerShell\Modules\Facebook\Facebook.ps1')
- DEBUG: 1363+ >>>> Set-StrictMode -Version 2.0
- DEBUG: 1366+ if ( >>>> $Raw -eq $null)
- DEBUG: 1368+ >>>> Write-Debug "Convert-FBJSON$Header null"
- DEBUG: 1439+ >>>> }
- DEBUG: 1676+ >>>> }
- DEBUG: ! SET $retval = ''.
- DEBUG: 1881+ >>>> $retval
- DEBUG: 1882+ >>>> }
- >> C:\data\users\cveira\home\projects\SMSF\GitHub\profiles\master\home\SC2013
- >> SMSC [1] >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement