Select to view content in your preferred language

Social Media App - Customization

938
3
01-28-2013 12:09 PM
LorenzSchmid
Deactivated User
After the Social Media-App works, I've some question about the customization of the website
Following is my Wish-Question-List:

Ist there a way to load only Tweets from only one user with no special hashtags?
How I can i get the right Flicker-Key? (Do I have to add only the key or also the username?)

Would be nice if someone could get me a hint 🙂

Thanks
Tags (2)
0 Kudos
3 Replies
MattDriscoll
Esri Contributor
Hi schmidlorenz,

If you just want to show a specific user you can just enter "@username" as the search term.

Yes, to show flickr, you'll need to get a key. You can get one from here: http://www.flickr.com/services/apps/create/apply
Then you can enter whatever search terms you would like to match photos.
0 Kudos
LorenzSchmid
Deactivated User
Hey

Thanks for your reply but unfortunately it doesn't work!

1. Point: I've ad my twitter username in the search term as you can see in my config.js-file (http://test.maturstreich2012.hourb.com/map/config/config.js) and as you can see on my twitter page (https://twitter.com/momoGschmid) all my test-tweets are geolocated.
What is missing?

2. As you can see in the config.js file, I've also got a flicker-key without any search term, because i want to pin any photos from my account on the map. But that pins me a lot of photos, but not mien!
Then I tried it with the username and ID (CanadaRunner, 674XXXX@N06) in the searchterm and no photo was pinned!
What do I need to ad, when I only want to pin my photos from my flickr account .

Here is my map until now! http://test.maturstreich2012.hourb.com/map/index.html

Thanks for your advice
0 Kudos
MattDriscoll
Esri Contributor
Hey

Thanks for your reply but unfortunately it doesn't work!

1. Point: I've ad my twitter username in the search term as you can see in my config.js-file (http://test.maturstreich2012.hourb.com/map/config/config.js) and as you can see on my twitter page (https://twitter.com/momoGschmid) all my test-tweets are geolocated.
What is missing?

2. As you can see in the config.js file, I've also got a flicker-key without any search term, because i want to pin any photos from my account on the map. But that pins me a lot of photos, but not mien!
Then I tried it with the username and ID (CanadaRunner, 674XXXX@N06) in the searchterm and no photo was pinned!
What do I need to ad, when I only want to pin my photos from my flickr account .

Here is my map until now! http://test.maturstreich2012.hourb.com/map/index.html

Thanks for your advice


Hi Lorenz,

The twitter REST API only shows recent tweets. It looks like the last tweet you have is from November.

You'll have to modify the flickr code to send your username if you just want to show your photos. Flickr's API isn't as nice for using operators.

http://www.flickr.com/services/api/flickr.photos.search.html

You'll need to send your user_id as an argument and an empty search term I would suspect.

Let me know if that works.
0 Kudos