Tony Ren
Posts: 0
Joined: Fri Jun 28, 2013 4:02 am

Facebook API assistance

Using the Facebook API produces the following JSON object array for education:

Code: Select all

      "year": { 
         "id": "532490046771314", 
         "name": "2017" 
      }, 
      "concentration": [ 
         { 
            "id": "112892498724794", 
            "name": "Management" 
         } 
      ], 
      "type": "College" 
   } 
] 

How do I map both the "college" and "high school" names into two labels?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Facebook API assistance

Hello, please look our tutorial :: http://docs.appery.io/tutorials/build...

Tony Ren
Posts: 0
Joined: Fri Jun 28, 2013 4:02 am

Facebook API assistance

That doesn't explain how to deal with JSON arrays and how to distinguish variables by "type".

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook API assistance

[quote:]
How do I map both the "college" and "high school" names into two labels?
[/quote]
You would place two labels on a page and then map from service to the page.

Tony Ren
Posts: 0
Joined: Fri Jun 28, 2013 4:02 am

Facebook API assistance

Can you walk me through this process because it doesn't work for me?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook API assistance

Can you show a screen shot of mapping you tried?

Tony Ren
Posts: 0
Joined: Fri Jun 28, 2013 4:02 am

Facebook API assistance

I've tried a couple but this is my most recent configuration:

http://puu.sh/3sl2U.png

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Facebook API assistance

Do you want both school type to be printed next to each other (in the same iteration)?

Tony Ren6004212
Posts: 0
Joined: Mon Jul 01, 2013 6:21 am

Facebook API assistance

Doesn't matter

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook API assistance

Hello! You have incorrect mapping. Map to mobilelistitem_40 not school, but education as education is an array and the school is not.

Return to “Issues”