New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happen after Push File #1

Closed
wchuan11 opened this Issue Sep 12, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@wchuan11

When preview the URL in browser, HTTP error 403 is displayed.

Everything looks OK when stepping through.

The code I written on VB:

Private Sub PushFile()
Dim Client As New PushbulletClient(ApiKey)
Dim request As New PushFileRequest() With { _
.device_iden = "xxxxxxxxxxx", _
.file_type = "image/png", _
.file_name = "image.png", _
.file_path = Application.StartupPath & "" & "image.png"
}
Dim response = Client.PushFile(request)
MsgBox("pushed")
End Sub

Am I misssing anything?

@adamyeager

This comment has been minimized.

Show comment
Hide comment
@adamyeager

adamyeager Sep 12, 2014

Owner

Yes, the file pushing is incomplete. I really should have put a not implemented exception on that part. I haven't had time lately to finishing it, but let me see if I can complete it this weekend.

Owner

adamyeager commented Sep 12, 2014

Yes, the file pushing is incomplete. I really should have put a not implemented exception on that part. I haven't had time lately to finishing it, but let me see if I can complete it this weekend.

@adamyeager adamyeager self-assigned this Sep 12, 2014

@adamyeager

This comment has been minimized.

Show comment
Hide comment
@adamyeager

adamyeager Sep 14, 2014

Owner

Hi @wchuan11
I have fixed the file pushing functionality. I've tested it by pushing an image to my iOS device. Please let me know if you have any more issues.

Also, I added a property to the PushFileRequest class for "body" which is an optional parameter according to PushBullet's API.

Owner

adamyeager commented Sep 14, 2014

Hi @wchuan11
I have fixed the file pushing functionality. I've tested it by pushing an image to my iOS device. Please let me know if you have any more issues.

Also, I added a property to the PushFileRequest class for "body" which is an optional parameter according to PushBullet's API.

@adamyeager adamyeager closed this Sep 14, 2014

@wchuan11

This comment has been minimized.

Show comment
Hide comment
@wchuan11

wchuan11 Sep 15, 2014

Thumbs up!

Thumbs up!

adamyeager pushed a commit that referenced this issue Oct 26, 2015

Merge pull request #1 from adamyeager/Integration
Merge back from adamyeager/pushbulletSharp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment