samjudson / flickr-net

Home of the FlickrNet API libary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{"Unknown attribute: topic_count=425"} when call OAuthGetAccessToken

ValeraT1982 opened this issue · comments

topics_count field was added to GroupInfo

Fix:
GroupInfo.cs

Add property

/// <summary>
/// The total number of topics in the group.
/// </summary>
public long TopicCount { get; set; }

Add additional case to method IFlickrParsable.Load(XmlReader reader)

case "topic_count":
     TopicCount = reader.ReadContentAsLong();
    break;

This has now been resolved.