Questions tagged [hammock]

Hammock is a C# HTTP API client for consuming REST web services.

Hammock is an HTTP API library for .NET that simplifies consuming and wrapping RESTful services. You can find more information and its source at its GitHub page.

Installation

Hammock can most easily be installed through its NuGet package.

Install-Package Hammock 
46 questions
0
votes
2 answers

Twitter integration in Windows Phone 8.1

Twitter integration in Windows Phone 8 was done using Hammock nuget package. In Windows Phone 8.1 Hammock is not supported. Is there any other method to integrate twitter with the app.
Arun N
  • 38
  • 9
0
votes
1 answer

Naming issue with REST wrapper hammock in Python

I'm using a REST wrapper in Python called Hammock. Better than I can explain "Hammock is a fun module lets you deal with rest APIs by converting them into dead simple programmatic APIs. It uses popular requests module in backyard to provide…
Mark
  • 241
  • 3
  • 14
0
votes
1 answer

Hammock for Windows Phone 8.1

I have used Hammock Package for LinkedIn Authentication in Windows Phone 8 Silverlight App. Now I am developing Windows Phone 8.1 (WInRT) App. Hammock is not supported. Any replacements? Or can you please forward me link to tutorial on how to use…
0
votes
2 answers

Upload Image to Twitter

I am trying to upload an image to Twitter using Twitter API Version 1.1 and the update_with_media.json method. https://dev.twitter.com/docs/api/1.1/post/statuses/update_with_media This is the code I have so far, yet despite numerous variations I can…
Adam
  • 16,089
  • 6
  • 66
  • 109
0
votes
1 answer

tweet with picture not working

I trying to tweet with picture based on code example from msdn example but it's not working, any idea why? is it twitter changing api policy? here is my code public void postToTwitter() { try { var image = new WriteableBitmap(430,…
0
votes
1 answer

Twitter windows phone 8 integration

Hello I am trying to run this sample http://code.msdn.microsoft.com/Latest-Twitter-integration-a42e8bb6 but I am getting an error. An exception of type 'System.ArgumentException' occurred in Hammock.WindowsPhone.Mango.DLL but was not handled in…
veereev
  • 2,650
  • 4
  • 27
  • 40
0
votes
1 answer

Error when converting C# to VB.NET in my windows phone project

I have been trying to convert some c# code to VB.NET for a while now. The purpose of this is that i am trying to build some kind of Twitter client, i have nearly converted all fo the following code for a class within my project, which is currently: …
Charlie Stuart
  • 272
  • 2
  • 5
  • 19
0
votes
1 answer

Windows Phone dependent async requests

I have a windows phone 7 app. I have a pivot control. I'm making a RestRequest (Hammock library) to get the async web result to fill first pivot item. I want to make a second request as soon as I get first result without hanging up the UI. It must…
Codie
  • 464
  • 2
  • 5
  • 16
0
votes
1 answer

Hammock api for twitter supports Twitter 1.1 for wp8?

TweetSharp supports twitter v1.1 but I didn't find any documentation for hammock supporting twitter 1.1 References: for Hammock - this says these "These libraries were made for a now deprecated version of the API and will not likely function after…
0
votes
1 answer

Hammock Package , Tweetsharp and C# Windows Phone 8

I followed this link http://samjarawan.blogspot.co.uk/2010/09/building-real-windows-phone-7-twitter_18.html step by step and when I am running my app, I am getting an error i.e. "Error Calling Twitter". When I searched about it, I found that in…
0
votes
1 answer

How to Deserialize this object JSON?

I need deserialize a json like this: {"success":true,"loggedin":false,"data":{"accessTime":1285167129}} My objects are: public class Heartbeat { public bool Success { get; set; } public bool Loggedin { get; set; } public HeartbeatData…
Juliano Oliveira
  • 304
  • 4
  • 12
0
votes
1 answer

What does the Hammock.dll do?

I referenced the Couchbase assembly using NuGET in my project and it has a dependency on Hammock.dll. What does this assembly do? And is it really needed? In simple unit tests, my application works fine without the Hammock.dll being present. But I…
0
votes
1 answer

The remote server returned an error: (400) Bad Request.System.Net.HttpWebResponse Hammock Twitter API

I'm working on an Application that communicates with the Twitter API using Hammock. I'm able to authenticate using Aouth and I can return the token and the token secret. However when I try to get twitter mentions or post an update, I get a 400…
cgitosh
  • 313
  • 3
  • 12
0
votes
1 answer

Hammock Facebook graph API query parameter

I am using Hammock to get data from the Facebook graph API. When user logs into my web site I want to get all data from his Facebook profile since he last logged my web site. So when the user logs into my web site I update his login time and from…
0
votes
1 answer

System.Action could not load

I've been looking into this error that I keep getting and can't find the right solution. It seems like it's unique to the person. Does anyone know why I am getting the error? Greatly appreciate the time. public void uploadPhoto(Stream…
Tom
  • 1,187
  • 2
  • 12
  • 21