Cyfe API | ThingSpeak Projects | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Cyfe API
No permission to create posts
November 30, 2018
10:46 pm
Avatar
jaccobb
New Member
Members
Forum Posts: 2
Member Since:
November 30, 2018
sp_UserOfflineSmall Offline

We use Cyfe to check facebook analytics. I'd like to pull the checkin number from a page and using arduino, post the checkins for the last 7 days in our store.

The url for Cyfe is: https://metrics.cravinvapes.com/dashboards/700689/5c02014add184101501618674820
I followed and pulled the xpath, but all I get is an error "Error parsing document, try a different parse string"

Any ideas would be amazing.

December 1, 2018
1:02 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 248
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

It looks like the Cyfe page is dynamically populated by Javascript using jQuery.

curl " https://metrics.cravinvapes.com/dashboards/700689/5c02014add184101501618674820"

for example does not contain the XPath to the element that contains the number.

Is there an API you can use that directly gets you the data, rather than go through Cyfe? For example, can you use one of Facebook's APIs to retrieve the information directly? If so, can you use that in a ThingHTTP?

December 1, 2018
4:59 pm
Avatar
jaccobb
New Member
Members
Forum Posts: 2
Member Since:
November 30, 2018
sp_UserOfflineSmall Offline

Thx fore reply'n Vinod! Honestly I'm not a coder, just tinerking. I'll look at FB again to see if I can find it. I think the problem I was running into is that FB gives the data, but then I have to find a way to use that data to get the info. I'll look into it a bit more. Nevertheless, thanks for the nudge in the right direction!

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online: tdh10
42 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Epiphoneejf, Bbet1814On, Konstantintus, inalv69, bryancv1, priscillaql69

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457