avishaan / lightTribe

LightTribe Backend and Collaboration Doc
2 stars 0 forks source link

Backend still returns place holder interests #110

Open footnote opened 8 years ago

footnote commented 8 years ago

Interests returned in user profile doesn't match interests returned in the Interests web-service. They are also place holders ios simulator screen shot nov 3 2015 11 15 47 pm ios simulator screen shot nov 3 2015 11 15 51 pm

footnote commented 8 years ago

Now the interests returned are not "place holders" but still don't match what gets retrieved from the profile page after selection

avishaan commented 8 years ago

please check now

ShadiFares commented 8 years ago

only for the first selection where the returned items is Yoga which is correct....subsequent ones are rugby or tennis which don't match the intersts

On Fri, Nov 6, 2015 at 9:46 AM, Avishaan notifications@github.com wrote:

please check now

— Reply to this email directly or view it on GitHub https://github.com/codeHatcher/lightTribe/issues/110#issuecomment-154364743 .

footnote commented 8 years ago

We had a crash issue and resolved it but we are not sure what need to know how will I send the interests array to the backend, how does Interest object will be looks like ? we are getting screen shot 2015-11-06 at 3 51 07 pm a response body error

avishaan commented 8 years ago

Nothing changed on how you should send interests to the backend. You just send in an array of "keys" that correspond to the list you get back from the interestTypes route. For instance if the user wants to set yoga as their interest, they would pass in "yoga" to the interests for their user.

interests: ["yoga"]

I see you are passing in a key property and keywords which I don't understand. The keywords are the trigger words you should use when automatically categorizing a post. The way you actually set the interests on the user hasn't changed since about 3 months ago so you can just use the same method you have been using this entire time.