Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Tagging Multiple users in a Status

$
0
0

Hello Guys,

Help me with tagging multiple Friend's with a status which i'm updating via my device from my app. Here's what i'm doing,

var data = {
        link : "http://www.appcelerator.com",
        name : "Appcelerator Titanium (iteration " + iter + ")",
        tags : ("1234","5678"),
 
 
 
        accesstoken : "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
 
        message : "Awesome SDKs for building desktop and mobile apps  ",
        place : "XXXXXXXX",
 
        caption : "Appcelerator Titanium (iteration " + iter + ")",
        picture : "http://developer.appcelerator.com/assets/img/DEV_titmobile_image.png",
 
        description : "You've got the ideas, now you've got the power. Titanium translates your hard won web skills..."
    };
    fb.requestWithGraphPath('me/feed', data, 'POST', showRequestResult);
When i run this only the 2nd user with the id above mentioned "5678",gets tagged and not the 1st user.

I also tried other methods like,

tags1 : {
            'tags' : [{
                "id" : "12345"
 
            }, {
                "id" : "12345"
 
            }, {
                "id" : "56789"
 
            }, {
                "id" : "457889"
 
            }, {
                "id" : "567890"
 
            }, {
                "id" : "987654"
 
            }, {
                "id" : "98765"
 
            }]
        },
I get an error in as (#100) param tags must be an array

OR ANOTHER METHOD

var idnos = [];
idNos[0] = "123456";
 idNos[1] = "4567";
 idNos[2] = "456788";
 idNos[3] = "45678989";
 idNos[4] = "987654";
 idNos[5] = "4567889";
 
tags = idnos
Still there is same error (#100) param tags must be an array.

Help me.. Thanks in advance


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>