source_filter_id doesn't change anything

By tomkincaid

I'm setting source_filter_id in topic_getRelatedStories but it returns the exact same stories from all sources as when it is not set.

Filed Under:

source_filter_id is pre-constructed

Tom,

The source_filter_id is a value configured by us based on a list of sources that a user wants to restrict their result to. The way it works is that you give me a list of sources (by email) and I send back you a source_filter_id that only works with your key. This is useful in cases where your source filter has a large number of sources.

You can also use a dynamic source filter by providing the source name to a source_whitelist or source_blacklist parameter. E.g.

source_whitelist=SourceA&source_whitelist=SourceB .....

or

source_blacklist=SourceC&source_blacklist=SourceD .. and so on.

 

Here are some examples of dynamic source filters: http://cookbook.daylife.com/cookbook/sports_headlines

- Vineet