Checking groups with the Steam API [PHP] [closed]

1

I need to find out which GroupID's refer to this particular group link

The list of ID's of a user's groups I get through this request: link

How could I do this check in PHP?

    
asked by anonymous 10.05.2017 / 17:22

1 answer

2

Only add "memberslistxml /? xml = 1" at the end of the URL.

This causes the page to return an XML that you can "pull" with cURL and XMLSimpleObject.

The full link would be:

http://steamcommunity.com/groups/NewSteamCommunityBeta/memberslistxml/?xml=1

@EDIT

There are some tags on the group page that show the id of this group:

You can try to access it from file_get_contents ('urldogrupo'); and then with a preg_match (); capture this information.

    
10.05.2017 / 18:56